[PATCH 11/15] Remove CONFIG_HAS_ETH0 et al symbols

Heiko Schocher hs at denx.de
Thu Mar 10 06:36:08 CET 2022


Hello Tom,

On 10.03.22 02:44, Tom Rini wrote:
> This converts removes the following symbols:
>    CONFIG_HAS_ETH0
>    CONFIG_HAS_ETH1
>    CONFIG_HAS_ETH2
>    CONFIG_HAS_ETH3
> 
> This is because at this point, only the ids8313 platform was using the
> code which was controlled by these symbols.  In turn, this code already
> performs error checking on being able to perform the device tree fixup.
> Rather than convert these to Kconfig for a single platform, update the
> code to not need these checks and remove them from all the platforms
> they were unused on.
> 
> Cc: Heiko Schocher <hs at denx.de>
> Signed-off-by: Tom Rini <trini at konsulko.com>
> ---
>  arch/powerpc/cpu/mpc83xx/fdt.c   | 8 --------
>  include/configs/M5208EVBE.h      | 1 -
>  include/configs/M5275EVB.h       | 1 -
>  include/configs/M53017EVB.h      | 1 -
>  include/configs/MPC837XERDB.h    | 2 --
>  include/configs/MPC8548CDS.h     | 6 ------
>  include/configs/P1010RDB.h       | 6 ------
>  include/configs/gazerbeam.h      | 3 ---
>  include/configs/ids8313.h        | 2 --
>  include/configs/imx8mp_rsb3720.h | 2 --
>  include/configs/km/km-mpc8309.h  | 1 -
>  include/configs/km/km-mpc83xx.h  | 4 ----
>  include/configs/ls1021aiot.h     | 4 ----
>  include/configs/ls1021aqds.h     | 4 ----
>  include/configs/p1_p2_rdb_pc.h   | 4 ----
>  include/configs/socrates.h       | 3 ---
>  16 files changed, 52 deletions(-)

Looks good, thanks!

Reviewed-by: Heiko Schocher <hs at denx.de>

bye,
Heiko
-- 
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-52   Fax: +49-8142-66989-80   Email: hs at denx.de


More information about the U-Boot mailing list