···4455Written by Linus Walleij <linus.walleij@stericsson.com>6677-Some ARM SoC:s have a so-called TCM (Tightly-Coupled Memory).77+Some ARM SoCs have a so-called TCM (Tightly-Coupled Memory).88This is usually just a few (4-64) KiB of RAM inside the ARM99processor.10101111-Due to being embedded inside the CPU The TCM has a1111+Due to being embedded inside the CPU, the TCM has a1212Harvard-architecture, so there is an ITCM (instruction TCM)1313and a DTCM (data TCM). The DTCM can not contain any1414instructions, but the ITCM can actually contain data.1515The size of DTCM or ITCM is minimum 4KiB so the typical1616minimum configuration is 4KiB ITCM and 4KiB DTCM.17171818-ARM CPU:s have special registers to read out status, physical1818+ARM CPUs have special registers to read out status, physical1919location and size of TCM memories. arch/arm/include/asm/cputype.h2020defines a CPUID_TCM register that you can read out from the2121system control coprocessor. Documentation from ARM can be found