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>master
parent
7a69604bce
commit
07df697e14
@ -0,0 +1,29 @@ |
||||
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 |
Loading…
Reference in new issue