[U-Boot] [PATCH 10/22] sunxi: Add more network commands and netconsole support

Luka Perkov
2012-11-25T15:07:53Z

Hi Henrik,

On Sun, Nov 25, 2012 at 12:43:41PM +0100, Henrik Nordstr?m wrote:
> Add most network related commands
>
> Signed-off-by: Henrik Nordstrom <henrik@henriknordstrom.net>
>
> ---
> include/configs/sun4i.h | 21 ++++++++++++++++++++-
> 1 files changed, 20 insertions(+), 1 deletions(-)
>
> diff --git a/include/configs/sun4i.h b/include/configs/sun4i.h
> index ad51446..a58f82b 100644
> --- a/include/configs/sun4i.h
> +++ b/include/configs/sun4i.h
> @@ -47,9 +47,28 @@
> /* Ethernet support on A10 */
> #define CONFIG_SUNXI_WEMAC
> #define CONFIG_MII /* MII PHY management */
> -

Remove this line in previous patch please.

> #define CONFIG_CMD_MII
> #define CONFIG_CMD_NET
> #define CONFIG_CMD_PING
> +#define CONFIG_CMD_DHCP
> +#define CONFIG_CMD_NFS
> +#define CONFIG_CMD_SNTP
> +#define CONFIG_CMD_DNS
> +#define CONFIG_NETCONSOLE
> +#define CONFIG_BOOTP_SUBNETMASK
> +#define CONFIG_BOOTP_GATEWAY
> +#define CONFIG_BOOTP_HOSTNAME
> +#define CONFIG_BOOTP_NISDOMAIN
> +#define CONFIG_BOOTP_BOOTPATH
> +#define CONFIG_BOOTP_BOOTFILESIZE
> +#define CONFIG_BOOTP_DNS
> +#define CONFIG_BOOTP_DNS2
> +#define CONFIG_BOOTP_SEND_HOSTNAME
> +#define CONFIG_BOOTP_NTPSERVER
> +#define CONFIG_BOOTP_TIMEOFFSET
> +#define CONFIG_BOOTP_MAY_FAIL
> +#define CONFIG_BOOTP_SERVERIP
> +#define CONFIG_BOOTP_DHCP_REQUEST_DELAY 50000
> +#define CONFIG_TIMESTAMP
>
> #endif /* __CONFIG_H */
> --
> 1.7.7.6

Luka