[U-Boot] [PATCH 2/2] Makefile: remove mx31pdk exception

Stefano Babic sbabic at denx.de
Tue Aug 30 12:52:43 CEST 2011


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 at denx.de>
CC: Wolfgang Denk <wd at denx.de>
---
 Makefile   |   10 ----------
 boards.cfg |    2 ++
 2 files changed, 2 insertions(+), 10 deletions(-)

diff --git a/Makefile b/Makefile
index fec662b..71e2d87 100644
--- a/Makefile
+++ b/Makefile
@@ -896,16 +896,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
 #########################################################################
diff --git a/boards.cfg b/boards.cfg
index fc8ca0a..9f8434a 100644
--- a/boards.cfg
+++ b/boards.cfg
@@ -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
-- 
1.7.1



More information about the U-Boot mailing list