[U-Boot] [PATCH v2 1/3] x86: Convert minnowmax to use CONFIG_DM_NET

Bin Meng bmeng.cn at gmail.com
Thu Aug 6 06:30:19 CEST 2015


Hi Simon,

On Mon, Aug 3, 2015 at 8:15 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>
> ---
>
> Changes in v2: None
>
>  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 c4f2c33..44e5bf4 100644
> --- a/board/intel/minnowmax/minnowmax.c
> +++ b/board/intel/minnowmax/minnowmax.c
> @@ -6,7 +6,6 @@
>
>  #include <common.h>
>  #include <asm/gpio.h>
> -#include <netdev.h>
>
>  int arch_early_init_r(void)
>  {
> @@ -20,8 +19,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 e98f5eb..6ba22d6 100644
> --- a/configs/minnowmax_defconfig
> +++ b/configs/minnowmax_defconfig
> @@ -24,3 +24,4 @@ CONFIG_FRAMEBUFFER_VESA_MODE_11A=y
>  CONFIG_DM_RTC=y
>  CONFIG_USE_PRIVATE_LIBGCC=y
>  CONFIG_SYS_VSNPRINTF=y
> +CONFIG_DM_ETH=y
> --

Can we reorder this with savedefconfig?

Regards,
Bin


More information about the U-Boot mailing list