diff options
author | Tom Rini | 2018-08-16 08:16:24 -0400 |
---|---|---|
committer | Tom Rini | 2018-08-16 16:45:02 -0400 |
commit | 86cf1c82850f7c226f23684e19616e526ffaf10f (patch) | |
tree | 215dc29cd1f62c44019733ef85367a8d1f034287 /include/configs/socfpga_stratix10_socdk.h | |
parent | 999a772d9f24bf9b8d0726e1359c9d8c3bdad72e (diff) |
configs: Migrate CONFIG_NR_DRAM_BANKS
We have the following cases:
- CONFIG_NR_DRAM_BANKS was defined, migrate normally
- CONFIG_NR_DRAM_BANKS_MAX was defined and then used for
CONFIG_NR_DRAM_BANKS after a check, just migrate it over now.
- CONFIG_NR_DRAM_BANKS was very oddly defined on p2771-0000-* (to 1024 +
2), set this to 8.
Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'include/configs/socfpga_stratix10_socdk.h')
-rw-r--r-- | include/configs/socfpga_stratix10_socdk.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/configs/socfpga_stratix10_socdk.h b/include/configs/socfpga_stratix10_socdk.h index e63fe290787..ba81f3e1905 100644 --- a/include/configs/socfpga_stratix10_socdk.h +++ b/include/configs/socfpga_stratix10_socdk.h @@ -131,7 +131,6 @@ unsigned int cm_get_qspi_controller_clk_hz(void); #define PHYS_SDRAM_1 0x0 #define PHYS_SDRAM_1_SIZE (1 * 1024 * 1024 * 1024) #define CONFIG_SYS_SDRAM_BASE 0 -#define CONFIG_NR_DRAM_BANKS 1 #define CONFIG_SYS_MEMTEST_START 0 #define CONFIG_SYS_MEMTEST_END PHYS_SDRAM_1_SIZE - 0x200000 |