[U-Boot] [PATCH 3/5] sh: rsk7203: Move to boards.cfg

Nobuhiro Iwamatsu iwamatsu at nigauri.org
Tue Oct 19 19:40:09 CEST 2010


Move the rsk7203 target out of the Makefile and into boards.cfg.
And fix sh2 of MAKEALL.

Signed-off-by: Nobuhiro Iwamatsu <iwamatsu at nigauri.org>
---
 MAKEALL    |    5 ++---
 Makefile   |    8 --------
 boards.cfg |    1 +
 3 files changed, 3 insertions(+), 11 deletions(-)

diff --git a/MAKEALL b/MAKEALL
index c1f3842..9066a40 100755
--- a/MAKEALL
+++ b/MAKEALL
@@ -614,9 +614,8 @@ LIST_blackfin="$(boards_by_arch blackfin)
 ## SH Systems
 #########################################################################
 
-LIST_sh2="		\
-	rsk7203		\
-"
+LIST_sh2="$(boards_by_cpu sh2)"
+
 LIST_sh3="		\
 	mpr2		\
 	ms7720se	\
diff --git a/Makefile b/Makefile
index 30a564d..868fdb7 100644
--- a/Makefile
+++ b/Makefile
@@ -1189,14 +1189,6 @@ bf527-ezkit-v2_config	: unconfig
 #========================================================================
 
 #########################################################################
-## sh2 (Renesas SuperH)
-#########################################################################
-rsk7203_config: unconfig
-	@mkdir -p $(obj)include
-	@echo "#define CONFIG_RSK7203 1" > $(obj)include/config.h
-	@$(MKCONFIG) -a $@ sh sh2 rsk7203 renesas
-
-#########################################################################
 ## sh3 (Renesas SuperH)
 #########################################################################
 
diff --git a/boards.cfg b/boards.cfg
index 3a965e9..06e9d5d 100644
--- a/boards.cfg
+++ b/boards.cfg
@@ -718,5 +718,6 @@ davinci_dm6467evm arm	arm926ejs	dm6467evm	davinci		davinci
 davinci_schmoogie arm	arm926ejs	schmoogie	davinci		davinci
 davinci_dm355leopard arm arm926ejs	dm355leopard	davinci		davinci
 bf527-ad7160-eval blackfin	blackfin
+rsk7203	sh	sh2		rsk7203		renesas		-
 # Target	ARCH	CPU		Board name	Vendor		SoC		Options
 ###############################################################################################
-- 
1.7.1



More information about the U-Boot mailing list