]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - arch/arm/cpu/armv7/am33xx/board.c
arm:am33xx: Make dram_init call sdram_init() in some contexts
[karo-tx-uboot.git] / arch / arm / cpu / armv7 / am33xx / board.c
index e5c922af8a24de600db9f5b710476eb47b41cfd4..9a69b6ccfac4ff6197d8b6a214bbd8279a8fc587 100644 (file)
@@ -238,7 +238,9 @@ void s_init(void)
        /* Enable RTC32K clock */
        rtc32k_enable();
 #endif
+#ifdef CONFIG_SPL_BUILD
        sdram_init();
+#endif
 }
 #endif