diff options
author | Tom Rini <trini@konsulko.com> | 2018-08-16 08:16:24 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2018-08-16 16:45:02 -0400 |
commit | 86cf1c82850f7c226f23684e19616e526ffaf10f (patch) | |
tree | 215dc29cd1f62c44019733ef85367a8d1f034287 /include/configs/sunxi-common.h | |
parent | 999a772d9f24bf9b8d0726e1359c9d8c3bdad72e (diff) | |
download | u-boot-86cf1c82850f7c226f23684e19616e526ffaf10f.tar.gz u-boot-86cf1c82850f7c226f23684e19616e526ffaf10f.tar.bz2 u-boot-86cf1c82850f7c226f23684e19616e526ffaf10f.zip |
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/sunxi-common.h')
-rw-r--r-- | include/configs/sunxi-common.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/configs/sunxi-common.h b/include/configs/sunxi-common.h index 93690481a1..25993761a6 100644 --- a/include/configs/sunxi-common.h +++ b/include/configs/sunxi-common.h @@ -101,7 +101,6 @@ #define CONFIG_SYS_INIT_SP_ADDR \ (CONFIG_SYS_INIT_RAM_ADDR + CONFIG_SYS_INIT_SP_OFFSET) -#define CONFIG_NR_DRAM_BANKS 1 #define PHYS_SDRAM_0 CONFIG_SYS_SDRAM_BASE #define PHYS_SDRAM_0_SIZE 0x80000000 /* 2 GiB */ |