summaryrefslogtreecommitdiff
path: root/include/configs/mv-common.h
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2018-08-16 08:16:24 -0400
committerTom Rini <trini@konsulko.com>2018-08-16 16:45:02 -0400
commit86cf1c82850f7c226f23684e19616e526ffaf10f (patch)
tree215dc29cd1f62c44019733ef85367a8d1f034287 /include/configs/mv-common.h
parent999a772d9f24bf9b8d0726e1359c9d8c3bdad72e (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/mv-common.h')
-rw-r--r--include/configs/mv-common.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/include/configs/mv-common.h b/include/configs/mv-common.h
index 8ae521f7e98..5eeb5a16249 100644
--- a/include/configs/mv-common.h
+++ b/include/configs/mv-common.h
@@ -70,17 +70,6 @@
/* ====> Include platform Common Definitions */
#include <asm/arch/config.h>
-/*
- * DRAM Banks configuration, Custom config can be done in <board>.h
- */
-#ifndef CONFIG_NR_DRAM_BANKS
-#define CONFIG_NR_DRAM_BANKS CONFIG_NR_DRAM_BANKS_MAX
-#else
-#if (CONFIG_NR_DRAM_BANKS > CONFIG_NR_DRAM_BANKS_MAX)
-#error CONFIG_NR_DRAM_BANKS Configurated more than available
-#endif
-#endif /* CONFIG_NR_DRAM_BANKS */
-
/* ====> Include driver Common Definitions */
/*
* Common NAND configuration