summaryrefslogtreecommitdiffstats
path: root/arch/arm/cpu/armv7/omap-common/emif-common.c
diff options
context:
space:
mode:
authorSricharan <r.sricharan@ti.com>2011-11-15 09:49:55 -0500
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2011-11-15 22:25:50 +0100
commit508a58fa8ef0eab5c9b0b4285a73b3b91420092d (patch)
tree9ca8616a6dcd075dd3371640d5830a22999f0d3f /arch/arm/cpu/armv7/omap-common/emif-common.c
parent933efe641a47726249757f6e18d4f3159330a9c9 (diff)
downloadtalos-obmc-uboot-508a58fa8ef0eab5c9b0b4285a73b3b91420092d.tar.gz
talos-obmc-uboot-508a58fa8ef0eab5c9b0b4285a73b3b91420092d.zip
omap5: Add minimal support for omap5430.
This patch adds the minimal support for OMAP5. The platform and machine specific headers and sources updated for OMAP5430. OMAP5430 is Texas Instrument's SOC based on ARM Cortex-A15 SMP architecture. It's a dual core SOC with GIC used for interrupt handling and SCU for cache coherency. Also moved some part of code from the basic platform support that can be made common for OMAP4/5. Rest is kept out seperately. The same approach is followed for clocks and emif support in the subsequent patches. Signed-off-by: sricharan <r.sricharan@ti.com> Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
Diffstat (limited to 'arch/arm/cpu/armv7/omap-common/emif-common.c')
-rw-r--r--arch/arm/cpu/armv7/omap-common/emif-common.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/cpu/armv7/omap-common/emif-common.c b/arch/arm/cpu/armv7/omap-common/emif-common.c
index 94c8bed24e..03b45c69b5 100644
--- a/arch/arm/cpu/armv7/omap-common/emif-common.c
+++ b/arch/arm/cpu/armv7/omap-common/emif-common.c
@@ -1212,7 +1212,7 @@ void sdram_init(void)
debug(">>sdram_init()\n");
- if (omap4_hw_init_context() == OMAP_INIT_CONTEXT_UBOOT_AFTER_SPL)
+ if (omap_hw_init_context() == OMAP_INIT_CONTEXT_UBOOT_AFTER_SPL)
return;
in_sdram = running_from_sdram();
@@ -1237,7 +1237,7 @@ void sdram_init(void)
/* Do some testing after the init */
if (!in_sdram) {
- size_prog = omap4_sdram_size();
+ size_prog = omap_sdram_size();
size_detect = get_ram_size((long *)CONFIG_SYS_SDRAM_BASE,
size_prog);
/* Compare with the size programmed */
OpenPOWER on IntegriCloud