|
@@ -45,11 +45,15 @@
|
|
#define CONFIG_BOOTDELAY 1
|
|
#define CONFIG_BOOTDELAY 1
|
|
|
|
|
|
/*
|
|
/*
|
|
- * DDR information. We say (for simplicity) that we have 1 bank,
|
|
|
|
- * always, even when we have more. We always start at 0x80000000,
|
|
|
|
- * and we place the initial stack pointer in our SRAM.
|
|
|
|
|
|
+ * DDR information. If the CONFIG_NR_DRAM_BANKS is not defined,
|
|
|
|
+ * we say (for simplicity) that we have 1 bank, always, even when
|
|
|
|
+ * we have more. We always start at 0x80000000, and we place the
|
|
|
|
+ * initial stack pointer in our SRAM. Otherwise, we can define
|
|
|
|
+ * CONFIG_NR_DRAM_BANKS before including this file.
|
|
*/
|
|
*/
|
|
|
|
+#ifndef CONFIG_NR_DRAM_BANKS
|
|
#define CONFIG_NR_DRAM_BANKS 1
|
|
#define CONFIG_NR_DRAM_BANKS 1
|
|
|
|
+#endif
|
|
#define CONFIG_SYS_SDRAM_BASE 0x80000000
|
|
#define CONFIG_SYS_SDRAM_BASE 0x80000000
|
|
#define CONFIG_SYS_INIT_SP_ADDR (NON_SECURE_SRAM_END - \
|
|
#define CONFIG_SYS_INIT_SP_ADDR (NON_SECURE_SRAM_END - \
|
|
GENERATED_GBL_DATA_SIZE)
|
|
GENERATED_GBL_DATA_SIZE)
|