summaryrefslogtreecommitdiffstats
path: root/arch/arm/include/asm/arch-omap4/omap.h
diff options
context:
space:
mode:
authorTom Rini <trini@ti.com>2013-06-06 08:57:45 -0400
committerTom Rini <trini@ti.com>2013-06-06 08:57:45 -0400
commitedfcf85a0a4abbeb3798b5159adab586d025ab86 (patch)
tree91b274d57b6173f94665a173e500f0923e4de1e9 /arch/arm/include/asm/arch-omap4/omap.h
parenteecf9e2e78c3af4304740804b3649f3d4b8a922a (diff)
downloadu-boot-edfcf85a0a4abbeb3798b5159adab586d025ab86.tar.gz
u-boot-edfcf85a0a4abbeb3798b5159adab586d025ab86.tar.xz
u-boot-edfcf85a0a4abbeb3798b5159adab586d025ab86.zip
am33xx/omap4+: Move SRAM_SCRATCH_SPACE_ADDR to <asm/arch/omap.h>
The location of valid scratch space is dependent on SoC, so move that there. On OMAP4+ we continue to use SRAM_SCRATCH_SPACE_ADDR. On am33xx/ti814x we want to use what the ROM defines as "public stack" which is the area after our defined download image space. Correct the comment about and location of CONFIG_SPL_TEXT_BASE. Signed-off-by: Tom Rini <trini@ti.com>
Diffstat (limited to 'arch/arm/include/asm/arch-omap4/omap.h')
-rw-r--r--arch/arm/include/asm/arch-omap4/omap.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/include/asm/arch-omap4/omap.h b/arch/arm/include/asm/arch-omap4/omap.h
index e9a6ffeb83..44353a43f2 100644
--- a/arch/arm/include/asm/arch-omap4/omap.h
+++ b/arch/arm/include/asm/arch-omap4/omap.h
@@ -141,6 +141,7 @@ struct s32ktimer {
*/
#define NON_SECURE_SRAM_START 0x40304000
#define NON_SECURE_SRAM_END 0x4030E000 /* Not inclusive */
+#define SRAM_SCRATCH_SPACE_ADDR NON_SECURE_SRAM_START
/* base address for indirect vectors (internal boot mode) */
#define SRAM_ROM_VECT_BASE 0x4030D000
#endif