mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-06-09 15:26:03 +09:00
ram: k3-ddrss: Introduce top-level CONFIG_K3_DDRSS
Create a new CONFIG_K3_DDRSS option to select the common parts of the k3-ddrss driver. Also introduce a choice that depends on the top level option to select CONFIG_K3_J721E_DDRSS for j721e support, and update corresponding Kconfig as required. Signed-off-by: Dave Gerlach <d-gerlach@ti.com>
This commit is contained in:
parent
67124b9a74
commit
db2438131d
|
@ -23,7 +23,7 @@ config TARGET_J721E_R5_EVM
|
||||||
select K3_LOAD_SYSFW
|
select K3_LOAD_SYSFW
|
||||||
select RAM
|
select RAM
|
||||||
select SPL_RAM
|
select SPL_RAM
|
||||||
select K3_J721E_DDRSS
|
select K3_DDRSS
|
||||||
imply SYS_K3_SPL_ATF
|
imply SYS_K3_SPL_ATF
|
||||||
imply TI_I2C_BOARD_DETECT
|
imply TI_I2C_BOARD_DETECT
|
||||||
|
|
||||||
|
@ -43,7 +43,7 @@ config TARGET_J7200_R5_EVM
|
||||||
select K3_LOAD_SYSFW
|
select K3_LOAD_SYSFW
|
||||||
select RAM
|
select RAM
|
||||||
select SPL_RAM
|
select SPL_RAM
|
||||||
select K3_J721E_DDRSS
|
select K3_DDRSS
|
||||||
imply SYS_K3_SPL_ATF
|
imply SYS_K3_SPL_ATF
|
||||||
imply TI_I2C_BOARD_DETECT
|
imply TI_I2C_BOARD_DETECT
|
||||||
|
|
||||||
|
|
|
@ -54,9 +54,16 @@ config K3_AM654_DDRSS
|
||||||
config add support for the initialization of the external
|
config add support for the initialization of the external
|
||||||
SDRAM devices connected to DDR subsystem.
|
SDRAM devices connected to DDR subsystem.
|
||||||
|
|
||||||
|
config K3_DDRSS
|
||||||
|
bool "Enable K3 DDRSS support"
|
||||||
|
depends on RAM
|
||||||
|
|
||||||
|
choice
|
||||||
|
depends on K3_DDRSS
|
||||||
|
prompt "K3 DDRSS Arch Support"
|
||||||
|
|
||||||
config K3_J721E_DDRSS
|
config K3_J721E_DDRSS
|
||||||
bool "Enable J721E DDRSS support"
|
bool "Enable J721E DDRSS support"
|
||||||
depends on RAM
|
|
||||||
help
|
help
|
||||||
The J721E DDR subsystem comprises DDR controller, DDR PHY and
|
The J721E DDR subsystem comprises DDR controller, DDR PHY and
|
||||||
wrapper logic to integrate these blocks in the device. The DDR
|
wrapper logic to integrate these blocks in the device. The DDR
|
||||||
|
@ -65,6 +72,8 @@ config K3_J721E_DDRSS
|
||||||
Enabling this config adds support for the DDR memory controller
|
Enabling this config adds support for the DDR memory controller
|
||||||
on J721E family of SoCs.
|
on J721E family of SoCs.
|
||||||
|
|
||||||
|
endchoice
|
||||||
|
|
||||||
config IMXRT_SDRAM
|
config IMXRT_SDRAM
|
||||||
bool "Enable i.MXRT SDRAM support"
|
bool "Enable i.MXRT SDRAM support"
|
||||||
depends on RAM
|
depends on RAM
|
||||||
|
|
|
@ -15,7 +15,7 @@ obj-$(CONFIG_ARCH_ROCKCHIP) += rockchip/
|
||||||
obj-$(CONFIG_K3_AM654_DDRSS) += k3-am654-ddrss.o
|
obj-$(CONFIG_K3_AM654_DDRSS) += k3-am654-ddrss.o
|
||||||
obj-$(CONFIG_ARCH_MEDIATEK) += mediatek/
|
obj-$(CONFIG_ARCH_MEDIATEK) += mediatek/
|
||||||
obj-$(CONFIG_ARCH_ASPEED) += aspeed/
|
obj-$(CONFIG_ARCH_ASPEED) += aspeed/
|
||||||
obj-$(CONFIG_K3_J721E_DDRSS) += k3-ddrss/
|
obj-$(CONFIG_K3_DDRSS) += k3-ddrss/
|
||||||
|
|
||||||
obj-$(CONFIG_IMXRT_SDRAM) += imxrt_sdram.o
|
obj-$(CONFIG_IMXRT_SDRAM) += imxrt_sdram.o
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user