From dd54d3147ebc1f3c1fa78edc2ead9392a1432571 Mon Sep 17 00:00:00 2001
From: Amit Virdi <amit.virdi@st.com>
Date: Thu, 9 Feb 2012 00:25:33 +0000
Subject: [PATCH] ARM: Convert spear3xx and spear6xx boards to boards.cfg

Signed-off-by: Amit Virdi <amit.virdi@st.com>
Acked-by: Stefan Roese <sr@denx.de>
---
 Makefile   | 8 --------
 boards.cfg | 4 ++++
 2 files changed, 4 insertions(+), 8 deletions(-)

diff --git a/Makefile b/Makefile
index 648d477820..11aac21ea9 100644
--- a/Makefile
+++ b/Makefile
@@ -667,14 +667,6 @@ ucname	= $(shell echo $(1) | sed -e 's/\(.*\)_config/\U\1/')
 # ARM
 #========================================================================
 
-spear300_config \
-spear310_config \
-spear320_config :	unconfig
-	@$(MKCONFIG) -n $@ -t $@ spear3xx arm arm926ejs $(@:_config=) spear spear
-
-spear600_config :	unconfig
-	@$(MKCONFIG) -n $@ -t $@ spear6xx arm arm926ejs $(@:_config=) spear spear
-
 SX1_stdout_serial_config \
 SX1_config:		unconfig
 	@mkdir -p $(obj)include
diff --git a/boards.cfg b/boards.cfg
index 6033ac5371..980dc28c78 100644
--- a/boards.cfg
+++ b/boards.cfg
@@ -178,6 +178,10 @@ omap730p2_cs0boot	     arm         arm926ejs   omap730p2		 ti             omap
 omap730p2_cs3boot	     arm         arm926ejs   omap730p2		 ti             omap        omap730p2:CS3_BOOT
 edminiv2                     arm         arm926ejs   -                   LaCie          orion5x
 dkb			     arm         arm926ejs   -                   Marvell        pantheon
+spear300                     arm         arm926ejs   spear300            spear          spear       spear3xx:spear300
+spear310                     arm         arm926ejs   spear310            spear          spear       spear3xx:spear310
+spear320                     arm         arm926ejs   spear320            spear          spear       spear3xx:spear320
+spear600                     arm         arm926ejs   spear600            spear          spear       spear6xx:spear600
 versatileab                  arm         arm926ejs   versatile           armltd         versatile   versatile:ARCH_VERSATILE_AB
 versatilepb                  arm         arm926ejs   versatile           armltd         versatile   versatile:ARCH_VERSATILE_PB
 versatileqemu                arm         arm926ejs   versatile           armltd         versatile   versatile:ARCH_VERSATILE_QEMU,ARCH_VERSATILE_PB
-- 
2.39.5