]> git.sur5r.net Git - u-boot/commitdiff
Makefile: remove mx31pdk exception
authorStefano Babic <sbabic@denx.de>
Tue, 30 Aug 2011 00:52:43 +0000 (00:52 +0000)
committerWolfgang Denk <wd@denx.de>
Wed, 5 Oct 2011 20:03:09 +0000 (22:03 +0200)
An entry in the main Makefile for the mx31pdk board is not
necessary, and the board is added to boards.cfg as all
other targets.

Signed-off-by: Stefano Babic <sbabic@denx.de>
CC: Wolfgang Denk <wd@denx.de>
Makefile
boards.cfg

index 9a557ac0b32c0143d35ee48245bed86187df74ef..cd6fc8c9165e61e76b83baffe46c0191cd9f5226 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -888,16 +888,6 @@ apollon_config             : unconfig
        @echo "CONFIG_ONENAND_U_BOOT = y" >> $(obj)include/config.mk
        @$(MKCONFIG) $@ arm arm1136 apollon - omap24xx
 
-mx31pdk_config \
-mx31pdk_nand_config    : unconfig
-       @mkdir -p $(obj)include
-       @if [ -n "$(findstring _nand_,$@)" ]; then                                      \
-               echo "#define CONFIG_NAND_U_BOOT" >> $(obj)include/config.h;            \
-       else                                                                            \
-               echo "#define CONFIG_SKIP_LOWLEVEL_INIT" >> $(obj)include/config.h;     \
-       fi
-       @$(MKCONFIG) -n $@ -a mx31pdk arm arm1136 mx31pdk freescale mx31
-
 #########################################################################
 ## ARM1176 Systems
 #########################################################################
index a3b4c569b1760f267f9ea9890d2dd3f86339555c..65482aca1f937da11b02dd772c0da5f8c3ecde7c 100644 (file)
@@ -41,6 +41,8 @@ mx31ads                      arm         arm1136     -                   freesca
 imx31_litekit                arm         arm1136     -                   logicpd        mx31
 imx31_phycore                arm         arm1136     -                   -              mx31
 imx31_phycore_eet            arm         arm1136     imx31_phycore       -              mx31         imx31_phycore:IMX31_PHYCORE_EET
+mx31pdk_nand                 arm         arm1136     mx31pdk             freescale      mx31         mx31pdk:NAND_U_BOOT
+mx31pdk                      arm         arm1136     -                   freescale      mx31         mx31pdk:SKIP_LOWLEVEL_INIT
 mx35pdk                      arm         arm1136     -                   freescale      mx35
 omap2420h4                   arm         arm1136     -                   ti             omap24xx
 tnetv107x_evm                arm         arm1176     tnetv107xevm        ti             tnetv107x