diff options
author | Linus Walleij <linus.walleij@stericsson.com> | 2009-09-15 12:30:37 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2009-09-15 17:11:05 -0400 |
commit | bc581770cfdd8c17ea17d324dc05e2f9c599e7ca (patch) | |
tree | c6d2c2eb82d8a6c6851de0ecc7d8c0e63e026266 /arch/arm/mach-u300 | |
parent | 18240904960a39e582ced8ba8ececb10b8c22dd3 (diff) |
ARM: 5580/2: ARM TCM (Tightly-Coupled Memory) support v3
This adds the TCM interface to Linux, when active, it will
detect and report TCM memories and sizes early in boot if
present, introduce generic TCM memory handling, provide a
generic TCM memory pool and select TCM memory for the U300
platform.
See the Documentation/arm/tcm.txt for documentation.
Signed-off-by: Linus Walleij <linus.walleij@stericsson.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-u300')
-rw-r--r-- | arch/arm/mach-u300/include/mach/memory.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/arm/mach-u300/include/mach/memory.h b/arch/arm/mach-u300/include/mach/memory.h index bf134bcc129d..ab000df7fc03 100644 --- a/arch/arm/mach-u300/include/mach/memory.h +++ b/arch/arm/mach-u300/include/mach/memory.h | |||
@@ -35,6 +35,14 @@ | |||
35 | #endif | 35 | #endif |
36 | 36 | ||
37 | /* | 37 | /* |
38 | * TCM memory whereabouts | ||
39 | */ | ||
40 | #define ITCM_OFFSET 0xffff2000 | ||
41 | #define ITCM_END 0xffff3fff | ||
42 | #define DTCM_OFFSET 0xffff4000 | ||
43 | #define DTCM_END 0xffff5fff | ||
44 | |||
45 | /* | ||
38 | * We enable a real big DMA buffer if need be. | 46 | * We enable a real big DMA buffer if need be. |
39 | */ | 47 | */ |
40 | #define CONSISTENT_DMA_SIZE SZ_4M | 48 | #define CONSISTENT_DMA_SIZE SZ_4M |