Enable TCM on the Nomadik
Subsystems (3)
PATCH 1/1 Enable TCM on the Nomadik
This enables the 8KiB ITCM + 8KiB DTCM found on the Nomadik board and its derivates.
Signed-off-by Linus Walleij <[email protected]>
Cc Alessandro Rubini <[email protected]>
---
I don't have a Nomadik board so I cannot test this really, but I hope Alessandro can spare some time for it. The example code in Documentation/arm/tcm.txt can be used to see if the compile macros and allocation pool are working.
--- arch/arm/Kconfig | 1 + arch/arm/mach-nomadik/include/mach/memory.h | 8 ++++++++ 2 files changed, 9 insertions(+), 0 deletions(-)
arch/arm/Kconfig +1 -0
@@ -349,6 +349,7 @@ config ARCH_NOMADIK select ARM_AMBA select ARM_VIC select CPU_ARM926T + select HAVE_TCM select HAVE_CLK select COMMON_CLKDEV select GENERIC_TIME
arch/arm/mach-nomadik/include/mach/memory.h +8 -0
@@ -25,4 +25,12 @@*/ #define PHYS_OFFSET UL(0x00000000) +/* +* TCM memory whereabouts +*/ +#define ITCM_OFFSET 0xffff2000 +#define ITCM_END 0xffff3fff +#define DTCM_OFFSET 0xffff4000 +#define DTCM_END 0xffff5fff +#endif
Signature · 1 line
1.6.2.5
PATCH 1/1 Enable TCM on the Nomadik
Quoted 2 lines
This enables the 8KiB ITCM + 8KiB DTCM found on the Nomadik board and its derivates.
Thanks. I'm currently offsite, will check on monday.
/alessandro