diff options
author | Lokesh Vutla <lokeshvutla@ti.com> | 2017-04-18 17:27:24 +0530 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2017-05-11 22:03:41 -0400 |
commit | 86282798b0d115f6eca6828b4f0b3bfdf4752cc9 (patch) | |
tree | f173b73070c33fcbc4896af5479c7ccbf3fe8177 /arch/arm/mach-omap2/hwinit-common.c | |
parent | 15eb1d43bf470b85e9031c2fce7e0ce7b27dd321 (diff) |
arch: arm: omap: Declare size of ddr very early
Declare the size of ddr very early in spl, so that this can be
used to enable cache.
Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
Signed-off-by: Ravi Babu <ravibabu@ti.com>
Diffstat (limited to 'arch/arm/mach-omap2/hwinit-common.c')
-rw-r--r-- | arch/arm/mach-omap2/hwinit-common.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/hwinit-common.c b/arch/arm/mach-omap2/hwinit-common.c index f317293988..cac32748ec 100644 --- a/arch/arm/mach-omap2/hwinit-common.c +++ b/arch/arm/mach-omap2/hwinit-common.c @@ -171,6 +171,7 @@ void board_init_f(ulong dummy) #endif /* For regular u-boot sdram_init() is called from dram_init() */ sdram_init(); + gd->ram_size = omap_sdram_size(); } #endif |