diff options
author | Ben Warren <biggerbadderben@gmail.com> | 2008-10-28 06:50:15 (GMT) |
---|---|---|
committer | Ben Warren <biggerbadderben@gmail.com> | 2008-11-10 05:38:04 (GMT) |
commit | 96e21f86e8266ed40759e5495ee461265d7f6d28 (patch) | |
tree | c832ea73b28de835d1cae2ee6d5123f99bf4607f /net | |
parent | 9eb79bd8856bcab896ed5e1f1bca159807a124dd (diff) | |
download | u-boot-96e21f86e8266ed40759e5495ee461265d7f6d28.tar.xz |
Changed PPC4xx EMAC driver to require CONFIG_PPC4xx_EMAC
All in-tree IBM/AMCC PPC4xx boards using the EMAC get this new CONFIG
Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
Acked-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'net')
-rw-r--r-- | net/eth.c | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -153,7 +153,7 @@ int eth_initialize(bd_t *bis) #if defined(CONFIG_DB64460) || defined(CONFIG_P3Mx) mv6446x_eth_initialize(bis); #endif -#if defined(CONFIG_4xx) && !defined(CONFIG_IOP480) && !defined(CONFIG_AP1000) +#if defined(CONFIG_PPC4xx_EMAC) ppc_4xx_eth_initialize(bis); #endif if (!eth_devices) { @@ -485,8 +485,7 @@ int eth_initialize(bd_t *bis) #if defined(CONFIG_AT91RM9200) at91rm9200_miiphy_initialize(bis); #endif -#if defined(CONFIG_4xx) && !defined(CONFIG_IOP480) \ - && !defined(CONFIG_AP1000) && !defined(CONFIG_405) +#if defined(CONFIG_PPC4xx_EMAC) emac4xx_miiphy_initialize(bis); #endif #if defined(CONFIG_MCF52x2) |