[PATCH] configs: ls1028a: ensure Ethernet is enabled

Bin Meng bmeng.cn at gmail.com
Wed Sep 29 03:22:03 CEST 2021


On Tue, Sep 28, 2021 at 7:18 AM Vladimir Oltean <vladimir.oltean at nxp.com> wrote:
>
> CONFIG_FSL_ENETC is not explicitly enabled in the NXP LS1028A config
> files, instead it is selected by CONFIG_MSCC_FELIX_SWITCH, a state of
> matters which is fragile.
>
> CONFIG_MSCC_FELIX_SWITCH depends on CONFIG_DM_DSA, which depends on
> CONFIG_PHY_FIXED.
>
> Not all LS1028A boards did enable CONFIG_PHY_FIXED, which resulted in
> all of Ethernet being compiled out.
>
> This patch makes sure that CONFIG_PHY_FIXED is enabled for all LS1028A
> boards, and CONFIG_FSL_ENETC as well - don't rely on that fragile
> selection done by the Felix switch config.
>
> Signed-off-by: Vladimir Oltean <vladimir.oltean at nxp.com>
> ---
>  configs/kontron_sl28_defconfig               | 1 +
>  configs/ls1028aqds_tfa_SECURE_BOOT_defconfig | 1 +
>  configs/ls1028aqds_tfa_defconfig             | 1 +
>  configs/ls1028aqds_tfa_lpuart_defconfig      | 1 +
>  configs/ls1028ardb_tfa_SECURE_BOOT_defconfig | 1 +
>  configs/ls1028ardb_tfa_defconfig             | 1 +
>  6 files changed, 6 insertions(+)
>

Reviewed-by: Bin Meng <bmeng.cn at gmail.com>


More information about the U-Boot mailing list