]> git.sur5r.net Git - u-boot/commitdiff
nhk8815: move config targets from Makefile to boards.cfg
authorAlessandro Rubini <rubini@unipv.it>
Sat, 16 Apr 2011 07:50:01 +0000 (07:50 +0000)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Wed, 27 Apr 2011 17:38:11 +0000 (19:38 +0200)
Signed-off-by: Alessandro Rubini <rubini@unipv.it>
Acked-by: Andrea Gallo <andrea.gallo@stericsson.com>
Makefile
boards.cfg

index 9d264b7212710b3e9024952f072fdc188500b777..ada951e668d6cb0af997524f0b885332986a6715 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -923,15 +923,6 @@ cp922_XA10_config  \
 cp1026_config: unconfig
        @board/armltd/integrator/split_by_variant.sh cp $@
 
-nhk8815_config \
-nhk8815_onenand_config:        unconfig
-       @mkdir -p $(obj)include
-       @ > $(obj)include/config.h
-       @if [ "$(findstring _onenand, $@)" ] ; then \
-               echo "#define CONFIG_BOOT_ONENAND" >> $(obj)include/config.h; \
-       fi
-       @$(MKCONFIG) -n $@ -a nhk8815 arm arm926ejs nhk8815 st nomadik
-
 xtract_omap1610xxx = $(subst _cs0boot,,$(subst _cs3boot,,$(subst _cs_autoboot,,$(subst _config,,$1))))
 
 omap1610inn_config \
index 2f681ae342fa0b444b22ea5f0f98ab875669604b..ac83a6e119506a08f14afff2a697f24c4bbab891 100644 (file)
@@ -113,6 +113,8 @@ dockstar                     arm         arm926ejs   -                   Seagate
 jadecpu                      arm         arm926ejs   jadecpu             syteco         mb86r0x
 imx27lite                    arm         arm926ejs   imx27lite           logicpd        mx27
 magnesium                    arm         arm926ejs   imx27lite           logicpd        mx27
+nhk8815                      arm         arm926ejs   nhk8815             st             nomadik
+nhk8815_onenand              arm         arm926ejs   nhk8815             st             nomadik       nhk8815:BOOT_ONENAND
 omap5912osk                  arm         arm926ejs   -                   ti             omap
 edminiv2                     arm         arm926ejs   -                   LaCie          orion5x
 dkb                         arm         arm926ejs   -                   Marvell        pantheon