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

Signed-off-by: Nobuhiro Iwamatsu <iwama...@nigauri.org>
---
 MAKEALL    |    6 +-----
 Makefile   |   14 --------------
 boards.cfg |    2 ++
 3 files changed, 3 insertions(+), 19 deletions(-)

diff --git a/MAKEALL b/MAKEALL
index 9066a40..155131a 100755
--- a/MAKEALL
+++ b/MAKEALL
@@ -615,11 +615,7 @@ LIST_blackfin="$(boards_by_arch blackfin)
 #########################################################################
 
 LIST_sh2="$(boards_by_cpu sh2)"
-
-LIST_sh3="             \
-       mpr2            \
-       ms7720se        \
-"
+LIST_sh3="$(boards_by_cpu sh3)"
 
 LIST_sh4="             \
        ms7750se        \
diff --git a/Makefile b/Makefile
index 868fdb7..481add9 100644
--- a/Makefile
+++ b/Makefile
@@ -1189,20 +1189,6 @@ bf527-ezkit-v2_config    : unconfig
 #========================================================================
 
 #########################################################################
-## sh3 (Renesas SuperH)
-#########################################################################
-
-mpr2_config: unconfig
-       @mkdir -p $(obj)include
-       @echo "#define CONFIG_MPR2 1" > $(obj)include/config.h
-       @$(MKCONFIG) -a $@ sh sh3 mpr2
-
-ms7720se_config: unconfig
-       @mkdir -p $(obj)include
-       @echo "#define CONFIG_MS7720SE 1" > $(obj)include/config.h
-       @$(MKCONFIG) -a $@ sh sh3 ms7720se
-
-#########################################################################
 ## sh4 (Renesas SuperH)
 #########################################################################
 
diff --git a/boards.cfg b/boards.cfg
index 06e9d5d..f8f9579 100644
--- a/boards.cfg
+++ b/boards.cfg
@@ -719,5 +719,7 @@ davinci_schmoogie arm       arm926ejs       schmoogie       
davinci         davinci
 davinci_dm355leopard arm arm926ejs     dm355leopard    davinci         davinci
 bf527-ad7160-eval blackfin     blackfin
 rsk7203        sh      sh2             rsk7203         renesas         -
+mpr2   sh      sh3             mpr2    -       -
+ms7720se       sh      sh3     ms7720se        -       -
 # Target       ARCH    CPU             Board name      Vendor          SoC     
        Options
 
###############################################################################################
-- 
1.7.1

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to