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/rk3036_common.h | |
parent | 999a772d9f24bf9b8d0726e1359c9d8c3bdad72e (diff) | |
download | u-boot-86cf1c82850f7c226f23684e19616e526ffaf10f.tar.gz |
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/rk3036_common.h')
-rw-r--r-- | include/configs/rk3036_common.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/configs/rk3036_common.h b/include/configs/rk3036_common.h index 07c54b596b..d4e5406101 100644 --- a/include/configs/rk3036_common.h +++ b/include/configs/rk3036_common.h @@ -8,7 +8,6 @@ #include <asm/arch/hardware.h> #include "rockchip-common.h" -#define CONFIG_NR_DRAM_BANKS 1 #define CONFIG_SYS_MALLOC_LEN (32 << 20) #define CONFIG_SYS_CBSIZE 1024 #define CONFIG_SKIP_LOWLEVEL_INIT @@ -29,7 +28,6 @@ #define CONFIG_BOUNCE_BUFFER #define CONFIG_SYS_SDRAM_BASE 0x60000000 -#define CONFIG_NR_DRAM_BANKS 1 #define SDRAM_BANK_SIZE (512UL << 20UL) #define SDRAM_MAX_SIZE (CONFIG_NR_DRAM_BANKS * SDRAM_BANK_SIZE) |