MAKEALL: fix AT91
authorAndreas Bießmann <andreas.devel@googlemail.com>
Tue, 30 Nov 2010 09:45:04 +0000 (09:45 +0000)
committerReinhard Meyer <u-boot@emk-elektronik.de>
Tue, 7 Dec 2010 21:08:07 +0000 (22:08 +0100)
* add boards_by_soc()
 * remove boards already in boards.cfg from LIST_AT91

Signed-off-by: Andreas Bießmann <andreas.devel@googlemail.com>
MAKEALL

diff --git a/MAKEALL b/MAKEALL
index 767d561..4254565 100755 (executable)
--- a/MAKEALL
+++ b/MAKEALL
@@ -187,6 +187,7 @@ boards_by_field()
 }
 boards_by_arch() { boards_by_field 2 "$@" ; }
 boards_by_cpu()  { boards_by_field 3 "$@" ; }
 }
 boards_by_arch() { boards_by_field 2 "$@" ; }
 boards_by_cpu()  { boards_by_field 3 "$@" ; }
+boards_by_soc()  { boards_by_field 6 "$@" ; }
 
 #########################################################################
 ## MPC5xx Systems
 
 #########################################################################
 ## MPC5xx Systems
@@ -439,11 +440,8 @@ LIST_ARMV7="               \
 ## AT91 Systems
 #########################################################################
 
 ## AT91 Systems
 #########################################################################
 
-LIST_at91="                    \
-       afeb9260                \
-       at91cap9adk             \
-       at91rm9200dk            \
-       at91rm9200ek            \
+LIST_at91="$(boards_by_soc at91)\
+       $(boards_by_soc at91rm9200)\
        at91sam9260ek           \
        at91sam9261ek           \
        at91sam9263ek           \
        at91sam9260ek           \
        at91sam9261ek           \
        at91sam9263ek           \
@@ -451,19 +449,9 @@ LIST_at91="                        \
        at91sam9g20ek           \
        at91sam9m10g45ek        \
        at91sam9rlek            \
        at91sam9g20ek           \
        at91sam9m10g45ek        \
        at91sam9rlek            \
-       cmc_pu2                 \
        CPUAT91                 \
        CPU9260                 \
        CPU9G20                 \
        CPUAT91                 \
        CPU9260                 \
        CPU9G20                 \
-       csb637                  \
-       eb_cpux9k2              \
-       kb9202                  \
-       meesc                   \
-       mp2usb                  \
-       m501sk                  \
-       otc570                  \
-       pm9261                  \
-       pm9263                  \
        pm9g45                  \
        SBC35_A9G20             \
        TNY_A9260               \
        pm9g45                  \
        SBC35_A9G20             \
        TNY_A9260               \