summaryrefslogtreecommitdiff
path: root/configs/Bananapi_M2_Ultra_defconfig
diff options
context:
space:
mode:
authorAndre Przywara <andre.przywara@arm.com>2018-08-13 16:40:08 +0530
committerJagan Teki <jagan@amarulasolutions.com>2018-08-13 16:47:38 +0530
commit8094f0cb0ce9c61f1e2638ad75ce45a677fe3c4a (patch)
treed05c55d8db32a64b9d4443edf3f9e76ca8ba68bc /configs/Bananapi_M2_Ultra_defconfig
parent25b3d90b2cf4ab6c5407a458f23f1fc669b02ce6 (diff)
downloadu-boot-8094f0cb0ce9c61f1e2638ad75ce45a677fe3c4a.tar.gz
sunxi: A64: fix default DRAM_ODT_EN symbol
"default" lines in Kconfig are processed in order, the first hit will stop considering subsequent lines. In the case of the DRAM_ODT_EN symbol that means that everything following the first two lines will never be checked: ------------ config DRAM_ODT_EN bool "sunxi dram odt enable" default n if !MACH_SUN8I_A23 default y if MACH_SUN8I_A23 default y if MACH_SUN8I_R40 default y if MACH_SUN50I ------------ Assuming that the "default y" for the A64 and the R40 were a deliberate choice, fix the Kconfig stanza to take this into account. Also remove the now redundant lines from the respective defconfigs. Signed-off-by: Andre Przywara <andre.przywara@arm.com> [jagan: droped 'default n' on original change] Signed-off-by: Jagan Teki <jagan@amarulasolutions.com> Acked-by: Maxime Ripard <maxime.ripard@bootlin.com> Tested-by: Jagan Teki <jagan@amarulasolutions.com> # A64, R40 Tested-by: Chen-Yu Tsai <wens@csie.org> # A23
Diffstat (limited to 'configs/Bananapi_M2_Ultra_defconfig')
-rw-r--r--configs/Bananapi_M2_Ultra_defconfig1
1 files changed, 0 insertions, 1 deletions
diff --git a/configs/Bananapi_M2_Ultra_defconfig b/configs/Bananapi_M2_Ultra_defconfig
index 6bc33fc94f..fde829fd71 100644
--- a/configs/Bananapi_M2_Ultra_defconfig
+++ b/configs/Bananapi_M2_Ultra_defconfig
@@ -4,7 +4,6 @@ CONFIG_SPL=y
CONFIG_MACH_SUN8I_R40=y
CONFIG_DRAM_CLK=576
CONFIG_DRAM_ZQ=3881979
-CONFIG_DRAM_ODT_EN=y
CONFIG_MACPWR="PA17"
CONFIG_MMC0_CD_PIN="PH13"
CONFIG_MMC_SUNXI_SLOT_EXTRA=2