ddr: Fix the SPD EEPROM dependency for Armada XP
PATCH 1/1 ddr: Fix the SPD EEPROM dependency for Armada XP
Kconfig expressions use symbol names without the generated CONFIG_ prefix. SPD_EEPROM currently depends on the undefined CONFIG_ARMADA_XP symbol, so the Armada XP branch of the dependency can never be satisfied.
Use ARMADA_XP, which is selected by the supported Armada XP SoC types. This restores the option for boards whose DDR setup reads DIMM timing from the SPD EEPROM without enabling it by default.
---
Testing:
- Generated db-mv784mp-gp_defconfig, enabled SPD_EEPROM, ran olddefconfig, and verified that SPD_EEPROM remains enabled.
drivers/ddr/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/ddr/Kconfig +1 -1
@@ -40,7 +40,7 @@ source "drivers/ddr/imx/Kconfig" config SPD_EEPROM bool "DDR controller makes use of an SPD EEPROM for JEDEC information" - depends on SYS_FSL_DDR || SYS_FSL_MMDC || CONFIG_ARMADA_XP + depends on SYS_FSL_DDR || SYS_FSL_MMDC || ARMADA_XP help Get DDR timing information from an I2C EEPROM. Common with pluggable memory modules such as SODIMMs. You must define SPD_EEPROM_ADDRESS
Quoted 11 lines · Pengpeng Hou
Kconfigexpressions use symbol names without the generatedCONFIG_prefix.SPD_EEPROMcurrently depends on the undefinedCONFIG_ARMADA_XPsymbol, so the Armada XP branch of the dependency can never be satisfied.Use
ARMADA_XP, which is selected by the supported Armada XP SoC types. This restores the option for boards whose DDR setup reads DIMM timing from the SPD EEPROM without enabling it by default.Fixes 8ce59b593294 ("Convert CONFIG_SPD_EEPROM to Kconfig")Signed-off-by Pengpeng Hou <[email protected]>
Thanks,
Stefan
Quoted 11 lines · Pengpeng Hou
Kconfigexpressions use symbol names without the generatedCONFIG_prefix.SPD_EEPROMcurrently depends on the undefinedCONFIG_ARMADA_XPsymbol, so the Armada XP branch of the dependency can never be satisfied.Use
ARMADA_XP, which is selected by the supported Armada XP SoC types. This restores the option for boards whose DDR setup reads DIMM timing from the SPD EEPROM without enabling it by default.Fixes 8ce59b593294 ("Convert CONFIG_SPD_EEPROM to Kconfig")Signed-off-by Pengpeng Hou <[email protected]>
Applied to u-boot-marvell/next
Thanks,
Stefan