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

login
register
mail settings
Submitter Henrik Nordström
Date Nov. 25, 2012, 11:43 a.m.
Message ID <1353843821.17518.22.camel@home.hno.se>
Download mbox | patch
Permalink /patch/201526/
State Deferred
Delegated to: Albert ARIBAUD
Headers show

Comments

Henrik Nordström - Nov. 25, 2012, 11:43 a.m.
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(-)
Luka Perkov - Nov. 25, 2012, 3:07 p.m.
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

Patch

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		*/
-
 #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 */