Patchwork [U-Boot,04/12] ARM: rpi_b: include config_cmd_default.h

login
register
mail settings
Submitter Stephen Warren
Date July 4, 2012, 2:02 a.m.
Message ID <1341367375-11467-5-git-send-email-swarren@wwwdotorg.org>
Download mbox | patch
Permalink /patch/168866/
State Changes Requested
Delegated to: Tom Rini
Headers show

Comments

Stephen Warren - July 4, 2012, 2:02 a.m.
This enables a more typical default set of commands. Remove explicit
enables for commands already in the default list.

Signed-off-by: Stephen Warren <swarren@wwwdotorg.org>
---
 include/configs/rpi_b.h |    8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)
Tom Rini - July 9, 2012, 12:21 p.m.
On Tue, Jul 03, 2012 at 08:02:47PM -0600, Stephen Warren wrote:

> This enables a more typical default set of commands. Remove explicit
> enables for commands already in the default list.
> 
> Signed-off-by: Stephen Warren <swarren@wwwdotorg.org>
> ---
>  include/configs/rpi_b.h |    8 ++++++--
>  1 file changed, 6 insertions(+), 2 deletions(-)
> 
> diff --git a/include/configs/rpi_b.h b/include/configs/rpi_b.h
> index a8883d3..9268efb 100644
> --- a/include/configs/rpi_b.h
> +++ b/include/configs/rpi_b.h
> @@ -80,7 +80,11 @@
>  #define CONFIG_AUTO_COMPLETE
>  
>  /* Commands */
> -#define CONFIG_CMD_MEMORY
> -#define CONFIG_CMD_MISC
> +#include "config_cmd_default.h"

OK, the README says "config_cmd_default.h" but every other user does
<config_cmd_default.h>.

Patch

diff --git a/include/configs/rpi_b.h b/include/configs/rpi_b.h
index a8883d3..9268efb 100644
--- a/include/configs/rpi_b.h
+++ b/include/configs/rpi_b.h
@@ -80,7 +80,11 @@ 
 #define CONFIG_AUTO_COMPLETE
 
 /* Commands */
-#define CONFIG_CMD_MEMORY
-#define CONFIG_CMD_MISC
+#include "config_cmd_default.h"
+/* Some things don't make sense on this HW or yet */
+#undef CONFIG_CMD_FPGA
+#undef CONFIG_CMD_NET
+#undef CONFIG_CMD_NFS
+#undef CONFIG_CMD_SAVEENV
 
 #endif