mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-10-04 18:40:42 +09:00
07df697e14
The motivation for moving MX25 selection to Kconfig is to be able to better handle MX25 specific errata, so that an errata option can be selected at SoC level instead of board level. This selection method also aligns with the way other i.MX SoCs are selected in U-Boot. Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com> Acked-by: Sebastien Bourdelin <sebastien.bourdelin@savoirfairelinux.com> Reviewed-by: Benoît Thébaudeau <benoit.thebaudeau.dev@gmail.com>
30 lines
426 B
Plaintext
30 lines
426 B
Plaintext
if ARCH_MX25
|
|
|
|
config MX25
|
|
bool
|
|
default y
|
|
choice
|
|
prompt "MX25 board select"
|
|
optional
|
|
|
|
config TARGET_MX25PDK
|
|
bool "Support mx25pdk"
|
|
select BOARD_LATE_INIT
|
|
select CPU_ARM926EJS
|
|
select BOARD_EARLY_INIT_F
|
|
|
|
config TARGET_ZMX25
|
|
bool "Support zmx25"
|
|
select BOARD_LATE_INIT
|
|
select CPU_ARM926EJS1
|
|
|
|
endchoice
|
|
|
|
config SYS_SOC
|
|
default "mx25"
|
|
|
|
source "board/freescale/mx25pdk/Kconfig"
|
|
source "board/syteco/zmx25/Kconfig"
|
|
|
|
endif
|