From: Pavel Machek <pavel@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] u-boot: adjust config_cmd_default.h not to raise ton of warnings
Date: Fri, 15 May 2015 10:36:56 +0200 [thread overview]
Message-ID: <20150515083656.GA23564@amd> (raw)
In-Reply-To: <20150501091411.GB7205@amd>
On Fri 2015-05-01 11:14:11, Pavel Machek wrote:
>
> 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>
Ping? Yamada, can you apply this? Tom?
Pavel
> 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
next prev parent reply other threads:[~2015-05-15 8:36 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
2015-05-15 9:12 ` Masahiro Yamada
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20150515083656.GA23564@amd \
--to=pavel@denx.de \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox