[U-Boot] [PATCH] mkconfig: include board config.h before asm/config.h

Wolfgang Denk wd at denx.de
Thu Feb 19 00:36:25 CET 2009


Dear Kim Phillips,

In message <20090218161429.d2a02a7b.kim.phillips at freescale.com> you wrote:
> swapping the include order suppresses warnings for board configs
> that define their own CONFIG_MAX_MEM_MAPPED:
> 
> In file included from /home/r1aaha/git/u-boot/include/config.h:5,
>                 from /home/r1aaha/git/u-boot/include/common.h:35,
>                 from simpc8313.c:26:
> /home/r1aaha/git/u-boot/include/configs/SIMPC8313.h:81:1: warning:
> "CONFIG_MAX_MEM_MAPPED" redefined
> In file included from /home/r1aaha/git/u-boot/include/config.h:4,
>                 from /home/r1aaha/git/u-boot/include/common.h:35,
>                 from simpc8313.c:26:
> /home/r1aaha/git/u-boot/include/asm/config.h:28:1: warning: this is
> the location of the previous definition
> 
> Signed-off-by: Kim Phillips <kim.phillips at freescale.com>
> ---
>  mkconfig |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)

Applied, thanks.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
I've been programming for (35-9=) 24 years myself,  and  I  find  the
best way to learn a new language is to *read* every example snippet I
can find, with a reference book close by. Eventually, the *rhythm* of
the language starts pounding in my head... and my fluency is close at
hand. That's how I learned Perl, and now I'm one of the drummers. :-)
         -- Randal L. Schwartz in <8cvi6p2tir.fsf at gadget.cscaper.com>


More information about the U-Boot mailing list