diff options
author | Tom Rini <trini@konsulko.com> | 2021-08-21 13:50:16 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2021-08-31 17:46:37 -0400 |
commit | 222d22a39a459f8982778bc28fad6fc4acc2e3a7 (patch) | |
tree | 3eeb2d2609de7c5d96025e8be40a01d6d476ba2b /drivers/ddr/fsl | |
parent | f66a3fde38d6cece164ecb36f021c74c4aac2a9d (diff) | |
download | u-boot-222d22a39a459f8982778bc28fad6fc4acc2e3a7.tar.gz |
ddr: Migrate DDR_SPD to Kconfig
Move the symbol that controls building some JEDEC SPD support functions
to Kconfig. This is required on the TI keystone 2 platforms and very
frequently (but not always) used on large number of Freescale/NXP
platforms, so use imply there.
Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'drivers/ddr/fsl')
-rw-r--r-- | drivers/ddr/fsl/Kconfig | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/ddr/fsl/Kconfig b/drivers/ddr/fsl/Kconfig index 8246f627982..6461a54d7a8 100644 --- a/drivers/ddr/fsl/Kconfig +++ b/drivers/ddr/fsl/Kconfig @@ -116,22 +116,26 @@ choice config SYS_FSL_DDR4 bool "Freescale DDR4 controller" depends on SYS_FSL_HAS_DDR4 + imply DDR_SPD select SYS_FSL_DDRC_GEN4 config SYS_FSL_DDR3 bool "Freescale DDR3 controller" depends on SYS_FSL_HAS_DDR3 + imply DDR_SPD select SYS_FSL_DDRC_GEN3 if PPC select SYS_FSL_DDRC_ARM_GEN3 if ARM config SYS_FSL_DDR2 bool "Freescale DDR2 controller" depends on SYS_FSL_HAS_DDR2 + imply DDR_SPD select SYS_FSL_DDRC_GEN2 if (!MPC86xx && !SYS_FSL_DDRC_GEN3) config SYS_FSL_DDR1 bool "Freescale DDR1 controller" depends on SYS_FSL_HAS_DDR1 + imply DDR_SPD select SYS_FSL_DDRC_GEN1 endchoice |