]> git.dujemihanovic.xyz Git - u-boot.git/commit
mkconfig: include board config.h before asm/config.h
authorKim Phillips <kim.phillips@freescale.com>
Wed, 18 Feb 2009 22:14:29 +0000 (16:14 -0600)
committerWolfgang Denk <wd@denx.de>
Wed, 18 Feb 2009 23:23:19 +0000 (00:23 +0100)
commit7b0bc0219db8981613259473cf19699ac259b4fb
tree6f0a52d27cdcaa085bfb34a82d341917b94641d2
parentb8845abdc0dcf20d0944e965153f5ae7a9c3077c
mkconfig: include board config.h before asm/config.h

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@freescale.com>
mkconfig