Minor cleanup
authorWolfgang Denk <wd@pollux.denx.de>
Fri, 18 Aug 2006 21:27:33 +0000 (23:27 +0200)
committerWolfgang Denk <wd@pollux.denx.de>
Fri, 18 Aug 2006 21:27:33 +0000 (23:27 +0200)
MAKEALL
Makefile
board/tqm5200/tqm5200.c
include/configs/TQM5200.h

diff --git a/MAKEALL b/MAKEALL
index 48eeaaacf66891cea62b74114e3ee020f67d5841..720ab03bd373ba570bdae4e15de1970f6763557b 100755 (executable)
--- a/MAKEALL
+++ b/MAKEALL
@@ -25,11 +25,11 @@ LIST_5xx="  \
 #########################################################################
 
 LIST_5xxx="    \
-       BC3450          cpci5200        EVAL5200        icecube_5100    \
-       icecube_5200    lite5200b       mcc200          o2dnt           \
-       pf5200          PM520           TB5200          Total5100       \
-       Total5200       Total5200_Rev2  TQM5200         TQM5200_B       \
-       TQM5200S        fo300                                           \
+       BC3450          cpci5200        EVAL5200        fo300           \
+       icecube_5100    icecube_5200    lite5200b       mcc200          \
+       o2dnt           pf5200          PM520           TB5200          \
+       Total5100       Total5200       Total5200_Rev2  TQM5200         \
+       TQM5200_B       TQM5200S                                        \
 "
 
 #########################################################################
index 4cc7a48ba3218596c73dad4d419cbde8fa4ec590..a78f35b6219b51d3a3ca528ab82dfdb7414f120a 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -417,16 +417,22 @@ Total5200_Rev2_lowboot_config:    unconfig
                }
        @./mkconfig -a Total5200 ppc mpc5xxx total5200
 
-TQM5200_config \
-TQM5200_B_config \
-TQM5200_B_HIGHBOOT_config \
-TQM5200S_config \
-TQM5200S_HIGHBOOT_config \
-TQM5200_STK100_config \
 cam5200_config \
+fo300_config \
 MiniFAP_config \
-fo300_config:  unconfig
+TQM5200S_config \
+TQM5200S_HIGHBOOT_config \
+TQM5200_B_config \
+TQM5200_B_HIGHBOOT_config \
+TQM5200_config \
+TQM5200_STK100_config: unconfig
        @ >include/config.h
+       @[ -z "$(findstring cam5200,$@)" ] || \
+               { echo "#define CONFIG_CAM5200" >>include/config.h ; \
+                 echo "#define CONFIG_TQM5200S"        >>include/config.h ; \
+                 echo "#define CONFIG_TQM5200_B"       >>include/config.h ; \
+                 echo "... TQM5200S on Cam5200" ; \
+               }
        @[ -z "$(findstring fo300,$@)" ] || \
                { echo "#define CONFIG_FO300"   >>include/config.h ; \
                  echo "... TQM5200 on FO300" ; \
@@ -435,12 +441,6 @@ fo300_config:      unconfig
                { echo "#define CONFIG_MINIFAP" >>include/config.h ; \
                  echo "... TQM5200_AC on MiniFAP" ; \
                }
-       @[ -z "$(findstring cam5200,$@)" ] || \
-               { echo "#define CONFIG_CAM5200" >>include/config.h ; \
-                 echo "#define CONFIG_TQM5200S"        >>include/config.h ; \
-                 echo "#define CONFIG_TQM5200_B"       >>include/config.h ; \
-                 echo "... TQM5200S on Cam5200" ; \
-               }
        @[ -z "$(findstring STK100,$@)" ] || \
                { echo "#define CONFIG_STK52XX_REV100"  >>include/config.h ; \
                  echo "... on a STK52XX.100 base board" ; \
index 0026e086cbbf293b039640fe45b8c0a821395b4c..c8350ab3b5dab9b60566f9d27b2dd9d71587514a 100644 (file)
@@ -293,7 +293,7 @@ int checkboard (void)
 #elif defined(CONFIG_FO300)
 # define CARRIER_NAME  "FO300"
 #else
-# error "Unknown carrier board"
+# error "UNKNOWN"
 #endif
 
        puts (  "Board: " MODULE_NAME " (TQ-Components GmbH)\n"
index f157d42fce385d718e367b5b74a60e6f852d866c..31e3eed68c733e6efed7dcdd8d8a56847f631c3e 100644 (file)
@@ -37,7 +37,7 @@
 #define CONFIG_TQM5200         1       /* ... on TQM5200 module                */
 #undef CONFIG_TQM5200_REV100           /*  define for revision 100 modules     */
 
-/* On a Cameron board or on a FO300 board or ...                               */
+/* On a Cameron or on a FO300 board or ...                             */
 #if !defined(CONFIG_CAM5200) && !defined(CONFIG_FO300)
 #define CONFIG_STK52XX         1       /* ... on a STK52XX board               */
 #endif
@@ -71,7 +71,7 @@
 
 #undef FO300_SILENT_CONSOLE_WHEN_S1_CLOSED             /* silent console on PSC1 when S1 */
                                                        /* switch is open */
-#endif
+#endif /* CONFIG_FO300 */
 
 #ifdef CONFIG_STK52XX
 #define CONFIG_PS2KBD                  /* AT-PS/2 Keyboard             */