]> git.sur5r.net Git - u-boot/blobdiff - include/configs/microblaze-generic.h
nios2: Split timer code into timer.c
[u-boot] / include / configs / microblaze-generic.h
index 626fa44927111d19003b611d8079474d95955aea..8ce1c497077032f8aaae487b7bdd941c8b49a8f8 100644 (file)
 # define CONFIG_XILINX_TB_WATCHDOG
 #endif
 
-#ifndef CONFIG_OF_CONTROL
+#if !defined(CONFIG_OF_CONTROL) || \
+       (defined(CONFIG_SPL_BUILD) && !defined(CONFIG_SPL_OF_CONTROL))
 /* ddr sdram - main memory */
 # define CONFIG_SYS_SDRAM_BASE XILINX_RAM_START
 # define CONFIG_SYS_SDRAM_SIZE XILINX_RAM_SIZE