mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-08-22 09:58:52 +09:00
![Boris BREZILLON](/assets/img/avatar_default.png)
Add basic SECO MX6Q/uQ7 board support (Ethernet, UART, SD are supported). It also adds a Kconfig skeleton to later add more SECO board (supporting SoC and board variants). Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
64 lines
814 B
Plaintext
64 lines
814 B
Plaintext
if TARGET_SECOMX6
|
|
|
|
choice
|
|
prompt "SECO i.MX6 Board variant"
|
|
|
|
config SECOMX6_Q7
|
|
bool "Q7"
|
|
|
|
config SECOMX6_UQ7
|
|
bool "uQ7"
|
|
|
|
config SECOMX6_USBC
|
|
bool "uSBC"
|
|
|
|
endchoice
|
|
|
|
choice
|
|
prompt "SECO i.MX6 SoC variant"
|
|
|
|
config SECOMX6Q
|
|
bool "i.MX6Q"
|
|
select MX6Q
|
|
|
|
config SECOMX6DL
|
|
bool "i.MX6DL"
|
|
select MX6DL
|
|
|
|
config SECOMX6S
|
|
bool "i.MX6S"
|
|
select MX6S
|
|
|
|
endchoice
|
|
|
|
choice
|
|
prompt "DDR size"
|
|
|
|
config SECOMX6_512MB
|
|
bool "512MB"
|
|
|
|
config SECOMX6_1GB
|
|
bool "1GB"
|
|
|
|
config SECOMX6_2GB
|
|
bool "2GB"
|
|
|
|
config SECOMX6_4GB
|
|
bool "4GB"
|
|
|
|
endchoice
|
|
|
|
config IMX_CONFIG
|
|
default "board/seco/mx6quq7/mx6quq7-2g.cfg" if SECOMX6_UQ7 && SECOMX6Q && SECOMX6_2GB
|
|
|
|
config SYS_BOARD
|
|
default "mx6quq7" if SECOMX6_UQ7 && SECOMX6Q
|
|
|
|
config SYS_VENDOR
|
|
default "seco"
|
|
|
|
config SYS_CONFIG_NAME
|
|
default "secomx6quq7" if SECOMX6_UQ7 && SECOMX6Q
|
|
|
|
endif
|