Convert pico-imx7d to SPL support. There are two variants of pico-imx7d SOMs: - One with 512MB of RAM - One with 1GB of RAM The 512MB module contains two Hynix H5TC2G63GFR-PBA. The 1GB module contains two Hynix H5TC4G63GFR-PBA. The RAM size is determined in runtime by reading GPIO1_12. While at it, also add USB Serial Download mode support as it is very helpful for loading SPL and u-boot.img via imx_usb_loader. Signed-off-by: Fabio Estevam <festevam@gmail.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
70 lines
1.1 KiB
Plaintext
70 lines
1.1 KiB
Plaintext
if ARCH_MX7
|
|
|
|
config MX7
|
|
bool
|
|
select ROM_UNIFIED_SECTIONS
|
|
select SYSCOUNTER_TIMER
|
|
select CPU_V7_HAS_VIRT
|
|
select CPU_V7_HAS_NONSEC
|
|
select ARCH_SUPPORT_PSCI
|
|
imply CMD_FUSE
|
|
default y
|
|
|
|
config MX7D
|
|
select HAS_CAAM
|
|
select ROM_UNIFIED_SECTIONS
|
|
imply CMD_FUSE
|
|
bool
|
|
|
|
choice
|
|
prompt "MX7 board select"
|
|
optional
|
|
|
|
config TARGET_CL_SOM_IMX7
|
|
bool "CL-SOM-iMX7"
|
|
select MX7D
|
|
select DM
|
|
select DM_THERMAL
|
|
select SUPPORT_SPL
|
|
|
|
config TARGET_MX7DSABRESD
|
|
bool "mx7dsabresd"
|
|
select BOARD_LATE_INIT
|
|
select MX7D
|
|
select DM
|
|
select DM_THERMAL
|
|
|
|
config TARGET_PICO_IMX7D
|
|
bool "pico-imx7d"
|
|
select BOARD_LATE_INIT
|
|
select MX7D
|
|
select DM
|
|
select DM_THERMAL
|
|
select SUPPORT_SPL
|
|
|
|
config TARGET_WARP7
|
|
bool "warp7"
|
|
select BOARD_LATE_INIT
|
|
select MX7D
|
|
select DM
|
|
select DM_THERMAL
|
|
|
|
config TARGET_COLIBRI_IMX7
|
|
bool "Support Colibri iMX7S/iMX7D modules"
|
|
select DM
|
|
select DM_SERIAL
|
|
select DM_THERMAL
|
|
|
|
endchoice
|
|
|
|
config SYS_SOC
|
|
default "mx7"
|
|
|
|
source "board/compulab/cl-som-imx7/Kconfig"
|
|
source "board/freescale/mx7dsabresd/Kconfig"
|
|
source "board/technexion/pico-imx7d/Kconfig"
|
|
source "board/toradex/colibri_imx7/Kconfig"
|
|
source "board/warp7/Kconfig"
|
|
|
|
endif
|