diff mbox

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

Message ID 1314701563-27922-2-git-send-email-sbabic@denx.de
State Accepted
Commit cc9abfe4ceb360e9adedc4ed44eae0fcc3fd184c
Delegated to: Wolfgang Denk
Headers show

Commit Message

Stefano Babic Aug. 30, 2011, 10:52 a.m. UTC
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   |   10 ----------
 boards.cfg |    2 ++
 2 files changed, 2 insertions(+), 10 deletions(-)

Comments

Fabio Estevam Sept. 30, 2011, 11:41 a.m. UTC | #1
Hi Wolfgang,

On Tue, Aug 30, 2011 at 7:52 AM, Stefano Babic <sbabic@denx.de> wrote:
> 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   |   10 ----------
>  boards.cfg |    2 ++
>  2 files changed, 2 insertions(+), 10 deletions(-)

Any issue with this patch? I haven't seen it applied yet.

Regards,

Fabio Estevam
Wolfgang Denk Oct. 5, 2011, 6:49 p.m. UTC | #2
Dear Stefano Babic,

In message <1314701563-27922-2-git-send-email-sbabic@denx.de> you wrote:
> 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   |   10 ----------
>  boards.cfg |    2 ++
>  2 files changed, 2 insertions(+), 10 deletions(-)

Applied, thanks.

Best regards,

Wolfgang Denk
diff mbox

Patch

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