X-Git-Url: https://repo.jachan.dev/J-u-boot.git/blobdiff_plain/cf33678e51e02143ed67850b3f13646fd51fb489..03f5c55021c2d6297e66cc11bfea75f149a5d71c:/lib_ppc/board.c diff --git a/lib_ppc/board.c b/lib_ppc/board.c index a2d30231ad2..12439fe7d78 100644 --- a/lib_ppc/board.c +++ b/lib_ppc/board.c @@ -779,9 +779,7 @@ void board_init_r (gd_t *id, ulong dest_addr) load_sernum_ethaddr (); #endif -#if defined(CFG_GT_6426x) || defined(CONFIG_PN62) || defined(CONFIG_PPCHAMELEONEVB) || \ - defined(CONFIG_MPC8540ADS) || defined(CONFIG_MPC8555CDS) || \ - defined(CONFIG_MPC8560ADS) || defined(CONFIG_440_GX) +#if defined(CONFIG_ETH1ADDR) /* handle the 2nd ethernet address */ s = getenv ("eth1addr"); @@ -792,9 +790,7 @@ void board_init_r (gd_t *id, ulong dest_addr) s = (*e) ? e + 1 : e; } #endif -#if defined(CFG_GT_6426x) || defined(CONFIG_MPC8540ADS) || \ - defined(CONFIG_MPC8555CDS) || defined(CONFIG_MPC8560ADS) || \ - defined(CONFIG_440_GX) +#if defined(CONFIG_ETH2ADDR) /* handle the 3rd ethernet address */ s = getenv ("eth2addr"); @@ -810,7 +806,7 @@ void board_init_r (gd_t *id, ulong dest_addr) } #endif -#if defined(CONFIG_440_GX) +#if defined(CONFIG_ETH3ADDR) /* handle 4th ethernet address */ s = getenv("eth3addr"); #if defined(CONFIG_XPEDITE1K)