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

Wolfgang Denk wd at denx.de
Wed Feb 18 23:15:52 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:
...
>  echo "/* Automatically generated - do not edit */" >>config.h
> -echo "#include <asm/config.h>" >>config.h
>  echo "#include <configs/$1.h>" >>config.h
> +echo "#include <asm/config.h>" >>config.h

That's a pretty big hammer that affects ALL boards.

Are you absolutely sure it has no negative side effects?

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
Life is a game. Money is how we keep score.              - Ted Turner


More information about the U-Boot mailing list