summaryrefslogtreecommitdiff
path: root/drivers/ddr/Kconfig
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2022-06-15 12:03:54 -0400
committerTom Rini <trini@konsulko.com>2022-07-05 17:03:01 -0400
commitbca4509d575912e0521ce8448d41aabfc1c5e964 (patch)
tree0ebef1c309360d9b5e1ef6046c05cc273df2b06c /drivers/ddr/Kconfig
parent1f7e2fc324e414f28e9a6984f53a91da8ed8e64b (diff)
Convert CONFIG_SYS_SPD_BUS_NUM to Kconfig
This converts the following to Kconfig: CONFIG_SYS_SPD_BUS_NUM Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'drivers/ddr/Kconfig')
-rw-r--r--drivers/ddr/Kconfig5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/ddr/Kconfig b/drivers/ddr/Kconfig
index eec9d480b0..738b788401 100644
--- a/drivers/ddr/Kconfig
+++ b/drivers/ddr/Kconfig
@@ -30,5 +30,10 @@ config DDR_SPD
For memory controllers that can utilize it, add enable support for
using the JEDEC SDP standard.
+config SYS_SPD_BUS_NUM
+ int "I2C bus number for DDR SPD"
+ depends on DDR_SPD || SYS_I2C_LEGACY || SPL_SYS_I2C_LEGACY
+ default 0
+
source "drivers/ddr/altera/Kconfig"
source "drivers/ddr/imx/Kconfig"