Patchwork [U-Boot,3/4] tegra: whistler: reduce and comment network cfg options

login
register
mail settings
Submitter Stephen Warren
Date May 15, 2012, 10:16 p.m.
Message ID <1337120173-3479-3-git-send-email-swarren@wwwdotorg.org>
Download mbox | patch
Permalink /patch/159461/
State Superseded
Headers show

Comments

Stephen Warren - May 15, 2012, 10:16 p.m.
From: Stephen Warren <swarren@nvidia.com>

CONFIG_CMD_PING/NFS aren't required for Whistler to boot.

Add some comments.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
---
 include/configs/whistler.h |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)
Simon Glass - May 31, 2012, 11:26 p.m.
On Tue, May 15, 2012 at 3:16 PM, Stephen Warren <swarren@wwwdotorg.org>wrote:

> From: Stephen Warren <swarren@nvidia.com>
>
> CONFIG_CMD_PING/NFS aren't required for Whistler to boot.
>
> Add some comments.
>
> Signed-off-by: Stephen Warren <swarren@nvidia.com>
>

Acked-by: Simon Glass <sjg@chromium.org>


> ---
>  include/configs/whistler.h |    7 ++++---
>  1 files changed, 4 insertions(+), 3 deletions(-)
>
> diff --git a/include/configs/whistler.h b/include/configs/whistler.h
> index 4eed7f6..10ac92c 100644
> --- a/include/configs/whistler.h
> +++ b/include/configs/whistler.h
> @@ -75,6 +75,8 @@
>  #define CONFIG_USB_EHCI_TEGRA
>  #define CONFIG_USB_STORAGE
>  #define CONFIG_CMD_USB
> +
> +/* General networking support */
>  #define CONFIG_USB_HOST_ETHER
>  #define CONFIG_USB_ETHER_SMSC95XX
>  #define CONFIG_USB_ETHER_ASIX
> @@ -82,9 +84,8 @@
>  #define CONFIG_USB_ETHER_SMSC95XX
>  #define CONFIG_USB_ETHER_ASIX
>
> -#define CONFIG_CMD_NET      /* bootp, tftpboot, rarpboot    */
> -#define CONFIG_CMD_NFS      /* NFS support          */
> -#define CONFIG_CMD_PING
> +/* General networking support */
> +#define CONFIG_CMD_NET
>  #define CONFIG_CMD_DHCP
>
>  #include "tegra2-common-post.h"
> --
> 1.7.0.4
>
>

Patch

diff --git a/include/configs/whistler.h b/include/configs/whistler.h
index 4eed7f6..10ac92c 100644
--- a/include/configs/whistler.h
+++ b/include/configs/whistler.h
@@ -75,6 +75,8 @@ 
 #define CONFIG_USB_EHCI_TEGRA
 #define CONFIG_USB_STORAGE
 #define CONFIG_CMD_USB
+
+/* General networking support */
 #define CONFIG_USB_HOST_ETHER
 #define CONFIG_USB_ETHER_SMSC95XX
 #define CONFIG_USB_ETHER_ASIX
@@ -82,9 +84,8 @@ 
 #define CONFIG_USB_ETHER_SMSC95XX
 #define CONFIG_USB_ETHER_ASIX
 
-#define CONFIG_CMD_NET      /* bootp, tftpboot, rarpboot    */
-#define CONFIG_CMD_NFS      /* NFS support          */
-#define CONFIG_CMD_PING
+/* General networking support */
+#define CONFIG_CMD_NET
 #define CONFIG_CMD_DHCP
 
 #include "tegra2-common-post.h"