[U-Boot] [PATCH 17/18] x86: Convert minnowmax to use CONFIG_DM_NET
Bin Meng
bmeng.cn at gmail.com
Tue Jul 7 10:18:08 CEST 2015
On Tue, Jul 7, 2015 at 6:47 AM, Simon Glass <sjg at chromium.org> wrote:
> Move to driver model for networking on minnowmax.
>
> Signed-off-by: Simon Glass <sjg at chromium.org>
> ---
>
> board/intel/minnowmax/minnowmax.c | 6 ------
> configs/minnowmax_defconfig | 1 +
> 2 files changed, 1 insertion(+), 6 deletions(-)
>
> diff --git a/board/intel/minnowmax/minnowmax.c b/board/intel/minnowmax/minnowmax.c
> index 383cae0..36f0237 100644
> --- a/board/intel/minnowmax/minnowmax.c
> +++ b/board/intel/minnowmax/minnowmax.c
> @@ -8,7 +8,6 @@
> #include <asm/gpio.h>
> #include <asm/ibmpc.h>
> #include <asm/pnp_def.h>
> -#include <netdev.h>
> #include <smsc_lpc47m.h>
>
> #define SERIAL_DEV PNP_DEV(0x2e, 4)
> @@ -32,8 +31,3 @@ void setup_pch_gpios(u16 gpiobase, const struct pch_gpio_map *gpio)
> {
> return;
> }
> -
> -int board_eth_init(bd_t *bis)
> -{
> - return pci_eth_init(bis);
> -}
> diff --git a/configs/minnowmax_defconfig b/configs/minnowmax_defconfig
> index ff2bfda..bd3701e 100644
> --- a/configs/minnowmax_defconfig
> +++ b/configs/minnowmax_defconfig
> @@ -13,3 +13,4 @@ CONFIG_CMD_NET=y
> CONFIG_OF_CONTROL=y
> CONFIG_CPU=y
> CONFIG_DM_PCI=y
> +CONFIG_DM_ETH=y
> --
Reviewed-by: Bin Meng <bmeng.cn at gmail.com>
More information about the U-Boot
mailing list