public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] u-boot: adjust config_cmd_default.h not to raise ton of warnings
@ 2015-05-01  9:14 Pavel Machek
  2015-05-01 15:24 ` Stephen Warren
  2015-05-15  8:36 ` Pavel Machek
  0 siblings, 2 replies; 7+ messages in thread
From: Pavel Machek @ 2015-05-01  9:14 UTC (permalink / raw)
  To: u-boot


If there's duplicty between config system and config_cmd_default, a
ton of warnings is raised, because one uses plain defines, and other
defines it to 1. Adjust config_cmd_default.h not to provoke the
warnings.

Signed-off-by: Pavel Machek <pavel@denx.de>

diff --git a/include/config_cmd_default.h b/include/config_cmd_default.h
index e79a13b..2f60d63 100644
--- a/include/config_cmd_default.h
+++ b/include/config_cmd_default.h
@@ -16,29 +16,29 @@
  * hardware, not fully tested, etc.).
  */
 
-#define CONFIG_CMD_BDI		/* bdinfo			*/
-#define CONFIG_CMD_BOOTD	/* bootd			*/
-#define CONFIG_CMD_CONSOLE	/* coninfo			*/
-#define CONFIG_CMD_ECHO		/* echo arguments		*/
-#define CONFIG_CMD_EDITENV	/* editenv			*/
-#define CONFIG_CMD_ENV_EXISTS	/* query whether env variables exists */
-#define CONFIG_CMD_FPGA		/* FPGA configuration Support	*/
-#define CONFIG_CMD_IMI		/* iminfo			*/
-#define CONFIG_CMD_ITEST	/* Integer (and string) test	*/
+#define CONFIG_CMD_BDI 1	/* bdinfo			*/
+#define CONFIG_CMD_BOOTD 1	/* bootd			*/
+#define CONFIG_CMD_CONSOLE 1	/* coninfo			*/
+#define CONFIG_CMD_ECHO	1	/* echo arguments		*/
+#define CONFIG_CMD_EDITENV 1	/* editenv			*/
+#define CONFIG_CMD_ENV_EXISTS 1	/* query whether env variables exists */
+#define CONFIG_CMD_FPGA	1	/* FPGA configuration Support	*/
+#define CONFIG_CMD_IMI 1	/* iminfo			*/
+#define CONFIG_CMD_ITEST 1	/* Integer (and string) test	*/
 #ifndef CONFIG_SYS_NO_FLASH
-#define CONFIG_CMD_FLASH	/* flinfo, erase, protect	*/
-#define CONFIG_CMD_IMLS		/* List all found images	*/
+#define CONFIG_CMD_FLASH 1	/* flinfo, erase, protect	*/
+#define CONFIG_CMD_IMLS	1	/* List all found images	*/
 #endif
-#define CONFIG_CMD_LOADB	/* loadb			*/
-#define CONFIG_CMD_LOADS	/* loads			*/
-#define CONFIG_CMD_MEMORY	/* md mm nm mw cp cmp crc base loop */
-#define CONFIG_CMD_MISC		/* Misc functions like sleep etc*/
-#define CONFIG_CMD_NET		/* bootp, tftpboot, rarpboot	*/
-#define CONFIG_CMD_NFS		/* NFS support			*/
-#define CONFIG_CMD_RUN		/* run command in env variable	*/
-#define CONFIG_CMD_SAVEENV	/* saveenv			*/
-#define CONFIG_CMD_SETGETDCR	/* DCR support on 4xx		*/
-#define CONFIG_CMD_SOURCE	/* "source" command support	*/
-#define CONFIG_CMD_XIMG		/* Load part of Multi Image	*/
+#define CONFIG_CMD_LOADB 1	/* loadb			*/
+#define CONFIG_CMD_LOADS 1	/* loads			*/
+#define CONFIG_CMD_MEMORY 1	/* md mm nm mw cp cmp crc base loop */
+#define CONFIG_CMD_MISC	1	/* Misc functions like sleep etc*/
+#define CONFIG_CMD_NET 1	/* bootp, tftpboot, rarpboot	*/
+#define CONFIG_CMD_NFS 1	/* NFS support			*/
+#define CONFIG_CMD_RUN 1	/* run command in env variable	*/
+#define CONFIG_CMD_SAVEENV 1	/* saveenv			*/
+#define CONFIG_CMD_SETGETDCR 1	/* DCR support on 4xx		*/
+#define CONFIG_CMD_SOURCE 1	/* "source" command support	*/
+#define CONFIG_CMD_XIMG 1	/* Load part of Multi Image	*/
 
 #endif	/* _CONFIG_CMD_DEFAULT_H */

-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2015-05-15  9:12 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-05-01  9:14 [U-Boot] [PATCH] u-boot: adjust config_cmd_default.h not to raise ton of warnings Pavel Machek
2015-05-01 15:24 ` Stephen Warren
2015-05-03 10:01   ` Pavel Machek
2015-05-03 16:40     ` Stephen Warren
2015-05-03 19:33       ` Pavel Machek
2015-05-15  8:36 ` Pavel Machek
2015-05-15  9:12   ` Masahiro Yamada

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox