From b9f31cc42cb1b3d5d9745e6ac97dc6e870d24aef Mon Sep 17 00:00:00 2001
From: Wolfgang Denk <wd@denx.de>
Date: Fri, 9 Dec 2011 12:14:32 +0100
Subject: [PATCH] ARM: convert "omap730p2" boards to boards.cfg

Signed-off-by: Wolfgang Denk <wd@denx.de>
Dave Peverley <dpeverley@mpc-data.co.uk>
Acked-by: Tom Rini <trini@ti.com>
---
 MAKEALL    |  1 -
 Makefile   | 11 -----------
 boards.cfg |  3 +++
 3 files changed, 3 insertions(+), 12 deletions(-)

diff --git a/MAKEALL b/MAKEALL
index c2b52d036c..f735af68a2 100755
--- a/MAKEALL
+++ b/MAKEALL
@@ -308,7 +308,6 @@ LIST_SA="$(boards_by_cpu sa1100)"
 LIST_ARM9="$(boards_by_cpu arm920t)	\
 	$(boards_by_cpu arm926ejs)	\
 	$(boards_by_cpu arm925t)	\
-	omap730p2		\
 "
 
 #########################################################################
diff --git a/Makefile b/Makefile
index cfd44b1ef4..29e3dbb24e 100644
--- a/Makefile
+++ b/Makefile
@@ -654,17 +654,6 @@ ucname	= $(shell echo $(1) | sed -e 's/\(.*\)_config/\U\1/')
 # ARM
 #========================================================================
 
-omap730p2_config \
-omap730p2_cs0boot_config \
-omap730p2_cs3boot_config :	unconfig
-	@mkdir -p $(obj)include
-	@if [ "$(findstring _cs0boot_, $@)" ] ; then \
-		echo "#define CONFIG_CS0_BOOT" >> $(obj)include/config.h ; \
-	else \
-		echo "#define CONFIG_CS3_BOOT" >> $(obj)include/config.h ; \
-	fi;
-	@$(MKCONFIG) -n $@ -a omap730p2 arm arm926ejs omap730p2 ti omap
-
 spear300_config \
 spear310_config \
 spear320_config :	unconfig
diff --git a/boards.cfg b/boards.cfg
index 62039d11c7..a0a2bbaead 100644
--- a/boards.cfg
+++ b/boards.cfg
@@ -171,6 +171,9 @@ omap1610inn_cs0boot	     arm	 arm926ejs   omap1610inn	 ti		omap	    omap1610inn:
 omap1610inn_cs3boot	     arm	 arm926ejs   omap1610inn	 ti		omap	    omap1610inn:CS3_BOOT
 omap1610inn_cs_autoboot	     arm	 arm926ejs   omap1610inn	 ti		omap	    omap1610inn:CS_AUTOBOOT
 omap5912osk                  arm         arm926ejs   -                   ti             omap
+omap730p2		     arm         arm926ejs   omap730p2		 ti             omap        omap730p2:CS3_BOOT
+omap730p2_cs0boot	     arm         arm926ejs   omap730p2		 ti             omap        omap730p2:CS0_BOOT
+omap730p2_cs3boot	     arm         arm926ejs   omap730p2		 ti             omap        omap730p2:CS3_BOOT
 edminiv2                     arm         arm926ejs   -                   LaCie          orion5x
 dkb			     arm         arm926ejs   -                   Marvell        pantheon
 versatileab                  arm         arm926ejs   versatile           armltd         versatile   versatile:ARCH_VERSATILE_AB
-- 
2.39.5