mirror of
https://xff.cz/git/u-boot/
synced 2025-10-26 16:13:55 +01:00
nxp: Migrate a number of DDR related symbols to Kconfig
- Guard most of the options in drivers/ddr/fsl/Kconfig with SYS_FSL_DDR || SYS_FSL_MMDC. - Migrate FSL_DMA, DDR_ECC, DDR_ECC_CMD, and ECC_INIT_VIA_DDRCONTROLLER to Kconfig. - Clean up the logic for including the DDR_ECC_CMD code. Signed-off-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
@@ -10,6 +10,8 @@ config SYS_FSL_MMDC
|
||||
help
|
||||
Select Freescale Multi Mode DDR controller (MMDC).
|
||||
|
||||
if SYS_FSL_DDR || SYS_FSL_MMDC
|
||||
|
||||
config SYS_FSL_DDR_BE
|
||||
bool
|
||||
help
|
||||
@@ -142,6 +144,25 @@ endchoice
|
||||
|
||||
endmenu
|
||||
|
||||
config FSL_DMA
|
||||
def_bool y if DDR_ECC && MPC85xx && !ECC_INIT_VIA_DDRCONTROLLER
|
||||
|
||||
config DDR_ECC
|
||||
bool "ECC DDR memory support"
|
||||
|
||||
config DDR_ECC_CMD
|
||||
bool "Access the ECC features of the memory controller"
|
||||
depends on DDR_ECC && MPC83xx
|
||||
default y
|
||||
|
||||
config ECC_INIT_VIA_DDRCONTROLLER
|
||||
bool "DDR Memory controller initializes memory."
|
||||
help
|
||||
Use the DDR controller to auto initialize memory. If not enabled,
|
||||
the DMA controller is responsible for doing this.
|
||||
|
||||
endif
|
||||
|
||||
config SYS_FSL_ERRATUM_A008378
|
||||
bool
|
||||
|
||||
|
||||
Reference in New Issue
Block a user