aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSricharan R2013-05-28 00:28:25 -0500
committerLokesh Vutla2013-05-29 04:34:57 -0500
commit25051b53364c510dc24da274f180424a2a2dd27a (patch)
treeaff11e605adba129d544038591cd1bbba67bbf56
parent21d6e010f1de9453a8b6f31eaa1f46cab8490f30 (diff)
downloadu-boot-25051b53364c510dc24da274f180424a2a2dd27a.tar.gz
u-boot-25051b53364c510dc24da274f180424a2a2dd27a.tar.xz
u-boot-25051b53364c510dc24da274f180424a2a2dd27a.zip
ARM: DRA7xx: Correct SRAM END address
NON SECURE SRAM is 512KB in DRA7xx devices. So fixing it here. Signed-off-by: Sricharan R <r.sricharan@ti.com>
-rw-r--r--arch/arm/include/asm/arch-omap5/omap.h7
-rw-r--r--include/configs/dra7xx_evm.h3
-rw-r--r--include/configs/omap5_uevm.h3
3 files changed, 6 insertions, 7 deletions
diff --git a/arch/arm/include/asm/arch-omap5/omap.h b/arch/arm/include/asm/arch-omap5/omap.h
index df8222aaf5..15d429f4f9 100644
--- a/arch/arm/include/asm/arch-omap5/omap.h
+++ b/arch/arm/include/asm/arch-omap5/omap.h
@@ -159,13 +159,6 @@ struct s32ktimer {
159#define EFUSE_4 0x45145100 159#define EFUSE_4 0x45145100
160#endif /* __ASSEMBLY__ */ 160#endif /* __ASSEMBLY__ */
161 161
162/*
163 * Non-secure SRAM Addresses
164 * Non-secure RAM starts at 0x40300000 for GP devices. But we keep SRAM_BASE
165 * at 0x40304000(EMU base) so that our code works for both EMU and GP
166 */
167#define NON_SECURE_SRAM_START 0x40300000
168#define NON_SECURE_SRAM_END 0x40320000 /* Not inclusive */
169/* base address for indirect vectors (internal boot mode) */ 162/* base address for indirect vectors (internal boot mode) */
170#define SRAM_ROM_VECT_BASE 0x4031F000 163#define SRAM_ROM_VECT_BASE 0x4031F000
171 164
diff --git a/include/configs/dra7xx_evm.h b/include/configs/dra7xx_evm.h
index b0b0bdacf6..fc35f2f9a8 100644
--- a/include/configs/dra7xx_evm.h
+++ b/include/configs/dra7xx_evm.h
@@ -42,4 +42,7 @@
42/* Clock Defines */ 42/* Clock Defines */
43#define V_OSCK 20000000 /* Clock output from T2 */ 43#define V_OSCK 20000000 /* Clock output from T2 */
44 44
45#define NON_SECURE_SRAM_START 0x40300000
46#define NON_SECURE_SRAM_END 0x40380000 /* Not inclusive */
47
45#endif /* __CONFIG_DRA7XX_EVM_H */ 48#endif /* __CONFIG_DRA7XX_EVM_H */
diff --git a/include/configs/omap5_uevm.h b/include/configs/omap5_uevm.h
index 4f2d4253c7..96c5955b62 100644
--- a/include/configs/omap5_uevm.h
+++ b/include/configs/omap5_uevm.h
@@ -61,5 +61,8 @@
61/* Clock Defines */ 61/* Clock Defines */
62#define V_OSCK 19200000 /* Clock output from T2 */ 62#define V_OSCK 19200000 /* Clock output from T2 */
63 63
64#define NON_SECURE_SRAM_START 0x40300000
65#define NON_SECURE_SRAM_END 0x40320000 /* Not inclusive */
66
64#define CONFIG_OMAP_PLATFORM_RESET_TIME_MAX_USEC 16296 67#define CONFIG_OMAP_PLATFORM_RESET_TIME_MAX_USEC 16296
65#endif /* __CONFIG_OMAP5_EVM_H */ 68#endif /* __CONFIG_OMAP5_EVM_H */