summaryrefslogtreecommitdiff
path: root/arch/arm/cpu/armv7/am33xx/emif4.c
diff options
context:
space:
mode:
authorChandan Nath <chandan.nath@ti.com>2012-01-09 20:38:59 (GMT)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2012-01-16 07:40:12 (GMT)
commit8a8f084e4ffa0e2357790cd92b69301eaeb2834d (patch)
treef29a8f6bb0d33ec4041d64f761623f4215fe8417 /arch/arm/cpu/armv7/am33xx/emif4.c
parent876bdd6d460cfcb7dc3b3c52291e20d322a939d5 (diff)
downloadu-boot-8a8f084e4ffa0e2357790cd92b69301eaeb2834d.tar.xz
ARM:AM33XX: Add SPL support for AM335X EVM
This patch is added to support SPL feature on AM335X platform. In this patch, MMC1 is configured as boot device for SPL and support for other devices will be added in the next patch series. Signed-off-by: Chandan Nath <chandan.nath@ti.com> Signed-off-by: Tom Rini <trini@ti.com> Acked-by: Igor Grinberg <grinberg@compulab.co.il>
Diffstat (limited to 'arch/arm/cpu/armv7/am33xx/emif4.c')
-rw-r--r--arch/arm/cpu/armv7/am33xx/emif4.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/cpu/armv7/am33xx/emif4.c b/arch/arm/cpu/armv7/am33xx/emif4.c
index 1318365..2f4164d 100644
--- a/arch/arm/cpu/armv7/am33xx/emif4.c
+++ b/arch/arm/cpu/armv7/am33xx/emif4.c
@@ -46,7 +46,7 @@ void dram_init_banksize(void)
}
-#ifdef CONFIG_AM335X_CONFIG_DDR
+#ifdef CONFIG_SPL_BUILD
static void data_macro_config(int dataMacroNum)
{
struct ddr_data data;