TQM8xx: enable device tree support on all TQM8xx based boards.
authorHeiko Schocher <hs@denx.de>
Tue, 9 Feb 2010 14:50:27 +0000 (15:50 +0100)
committerWolfgang Denk <wd@denx.de>
Thu, 11 Mar 2010 23:06:07 +0000 (00:06 +0100)
Also enable support for CONFIG_HWCONFIG because we use this for
configuring if this hardware has a FEC or not.

syntax:

hwconfig=fec:on   if hardware has an fec
hwconfig=fec:off  if hardware has no fec

Signed-off-by: Heiko Schocher <hs@denx.de>
Signed-off-by: Wolfgang Denk <wd@denx.de>
19 files changed:
include/configs/FPS850L.h
include/configs/FPS860L.h
include/configs/HMI10.h
include/configs/NSCU.h
include/configs/SM850.h
include/configs/TK885D.h
include/configs/TQM823L.h
include/configs/TQM823M.h
include/configs/TQM850L.h
include/configs/TQM850M.h
include/configs/TQM855L.h
include/configs/TQM855M.h
include/configs/TQM860L.h
include/configs/TQM860M.h
include/configs/TQM862L.h
include/configs/TQM862M.h
include/configs/TQM866M.h
include/configs/TQM885D.h
include/configs/virtlab2.h

index 119065671a1f4bb661d687a7a08682aea055d1cf..addca2fe3a13e65ad48e378bf863b63d571da1ee 100644 (file)
 #define        BOOTFLAG_COLD   0x01            /* Normal Power-On: Boot from FLASH     */
 #define BOOTFLAG_WARM  0x02            /* Software reboot                      */
 
+/* pass open firmware flat tree */
+#define CONFIG_OF_LIBFDT       1
+#define CONFIG_OF_BOARD_SETUP  1
+#define CONFIG_HWCONFIG                1
+
 #endif /* __CONFIG_H */
index 73bcccc2ecbf5172776cad4a610c709cdf16d4f0..ec9000d9fc42527113a357b0b30db02ce37ac448 100644 (file)
 
 #define CONFIG_SCC1_ENET
 
+/* pass open firmware flat tree */
+#define CONFIG_OF_LIBFDT       1
+#define CONFIG_OF_BOARD_SETUP  1
+#define CONFIG_HWCONFIG                1
+
 #endif /* __CONFIG_H */
index 88e1946b786f9a630efef88e3c95e7a6df6f8105..2747d8cce825c5bb852c8a877fb6c103ed33f228 100644 (file)
 #define BOOTFLAG_COLD  0x01            /* Normal Power-On: Boot from FLASH     */
 #define BOOTFLAG_WARM  0x02            /* Software reboot                      */
 
+/* pass open firmware flat tree */
+#define CONFIG_OF_LIBFDT       1
+#define CONFIG_OF_BOARD_SETUP  1
+#define CONFIG_HWCONFIG                1
+
 #endif /* __CONFIG_H */
index 5dd72ffaf4ce85605e51e6ca1b20ee2fcae3fbf2..5724f45a8d3c9edba53a61ba90e66ec8a53fe918 100644 (file)
 #define CONFIG_FEC_ENET
 /* #define CONFIG_ETHPRIME             "FEC ETHERNET" */
 
+/* pass open firmware flat tree */
+#define CONFIG_OF_LIBFDT       1
+#define CONFIG_OF_BOARD_SETUP  1
+#define CONFIG_HWCONFIG                1
+
 #endif /* __CONFIG_H */
index 7266f9add1db0a06472017eb8dfef341cdeffda2..56f03e2b88db50d2a4db01326c7ee7f9659d792d 100644 (file)
 #define        BOOTFLAG_COLD   0x01            /* Normal Power-On: Boot from FLASH     */
 #define BOOTFLAG_WARM  0x02            /* Software reboot                      */
 
+/* pass open firmware flat tree */
+#define CONFIG_OF_LIBFDT       1
+#define CONFIG_OF_BOARD_SETUP  1
+#define CONFIG_HWCONFIG                1
+
 #endif /* __CONFIG_H */
index 1e6d9cebe07d801059279c42636ef40755d9d104..0df1b6e0425acf2a493717f9e645b4138e5e43e2 100644 (file)
 #define CONFIG_NET_RETRY_COUNT 3
 #define CONFIG_ETHPRIME                "FEC ETHERNET"
 
+/* pass open firmware flat tree */
+#define CONFIG_OF_LIBFDT       1
+#define CONFIG_OF_BOARD_SETUP  1
+#define CONFIG_HWCONFIG                1
+
 #endif /* __CONFIG_H */
index 966beaea16ea88d3c66be3e7d0cb9c6eaf63d432..372c76dcc8884ecb99209f93f29d43f3f5ba13b4 100644 (file)
 #define        BOOTFLAG_COLD   0x01            /* Normal Power-On: Boot from FLASH     */
 #define BOOTFLAG_WARM  0x02            /* Software reboot                      */
 
+/* pass open firmware flat tree */
+#define CONFIG_OF_LIBFDT       1
+#define CONFIG_OF_BOARD_SETUP  1
+#define CONFIG_HWCONFIG                1
+
 #endif /* __CONFIG_H */
index cfa693da18aecbdae21ec66858961e237fa5016a..64c97071d62cca1353de1f6a0e05aed890b22fbb 100644 (file)
 #define        BOOTFLAG_COLD   0x01            /* Normal Power-On: Boot from FLASH     */
 #define BOOTFLAG_WARM  0x02            /* Software reboot                      */
 
+/* pass open firmware flat tree */
+#define CONFIG_OF_LIBFDT       1
+#define CONFIG_OF_BOARD_SETUP  1
+#define CONFIG_HWCONFIG                1
+
 #endif /* __CONFIG_H */
index dc0498e7d1ecac18bcaa779b74a5b2de2e95caa7..bf6ecce47015ad6dd79759ff766dd993cb70a6dd 100644 (file)
 #define        BOOTFLAG_COLD   0x01            /* Normal Power-On: Boot from FLASH     */
 #define BOOTFLAG_WARM  0x02            /* Software reboot                      */
 
+/* pass open firmware flat tree */
+#define CONFIG_OF_LIBFDT       1
+#define CONFIG_OF_BOARD_SETUP  1
+#define CONFIG_HWCONFIG                1
+
 #endif /* __CONFIG_H */
index cdabc530852f4c49f65f9464961f6a8c0d9f7fee..74424527b857a5c7ed9b0ad307aef52cf82da03d 100644 (file)
 #define        BOOTFLAG_COLD   0x01            /* Normal Power-On: Boot from FLASH     */
 #define BOOTFLAG_WARM  0x02            /* Software reboot                      */
 
+/* pass open firmware flat tree */
+#define CONFIG_OF_LIBFDT       1
+#define CONFIG_OF_BOARD_SETUP  1
+#define CONFIG_HWCONFIG                1
+
 #endif /* __CONFIG_H */
index 1255928fb5744063d586e2deeb1a7b8efbed3011..32a7e79a4bfa3866f06a15a615f4a99c87376acc 100644 (file)
 #define CONFIG_FEC_ENET
 #define CONFIG_ETHPRIME                "SCC ETHERNET"
 
+/* pass open firmware flat tree */
+#define CONFIG_OF_LIBFDT       1
+#define CONFIG_OF_BOARD_SETUP  1
+#define CONFIG_HWCONFIG                1
+
 #endif /* __CONFIG_H */
index 584d40be9380946182f72e7b5add0d493a8f11c2..4f44be31bba59f060e3ac0b2fb82ffcda9324297 100644 (file)
 #define CONFIG_FEC_ENET
 #define CONFIG_ETHPRIME                "SCC ETHERNET"
 
+/* pass open firmware flat tree */
+#define CONFIG_OF_LIBFDT       1
+#define CONFIG_OF_BOARD_SETUP  1
+#define CONFIG_HWCONFIG                1
+
 #endif /* __CONFIG_H */
index a772a27bec26fdb4651bf4da93475d02c48751d1..e86fe5ef9636c06d332fdcb6e3ca934404a8f591 100644 (file)
 #define CONFIG_FEC_ENET
 #define CONFIG_ETHPRIME                "SCC ETHERNET"
 
+/* pass open firmware flat tree */
+#define CONFIG_OF_LIBFDT       1
+#define CONFIG_OF_BOARD_SETUP  1
+#define CONFIG_HWCONFIG                1
+
 #endif /* __CONFIG_H */
index 7c347861f0cfd418ea5a393c6325ff67e4ba7790..4fd873b1bda248c1b8629a1df3ef704259fe2df6 100644 (file)
 #define CONFIG_FEC_ENET
 #define CONFIG_ETHPRIME                "SCC ETHERNET"
 
+/* pass open firmware flat tree */
+#define CONFIG_OF_LIBFDT       1
+#define CONFIG_OF_BOARD_SETUP  1
+#define CONFIG_HWCONFIG                1
+
 #endif /* __CONFIG_H */
index 75d2dacba61f9830a811ff3b198dfc0114b223b1..0c966c9e0c143ddaf03131cbcf43b95b4ceae083 100644 (file)
 #define CONFIG_FEC_ENET
 #define CONFIG_ETHPRIME                "SCC ETHERNET"
 
+/* pass open firmware flat tree */
+#define CONFIG_OF_LIBFDT       1
+#define CONFIG_OF_BOARD_SETUP  1
+#define CONFIG_HWCONFIG                1
+
 #endif /* __CONFIG_H */
index 0c7aacdce6457132d274fd26e585d90b98011396..178e6e2137900539132e47325e90f542ff2a8e3a 100644 (file)
 #define CONFIG_FEC_ENET
 #define CONFIG_ETHPRIME                "SCC ETHERNET"
 
+/* pass open firmware flat tree */
+#define CONFIG_OF_LIBFDT       1
+#define CONFIG_OF_BOARD_SETUP  1
+#define CONFIG_HWCONFIG                1
+
 #endif /* __CONFIG_H */
index 071afd4f3fb6f4717cf4afee9813329f323c5eb7..a65946deb2bd11141e512a6462e3e293f6674ce4 100644 (file)
 #define CONFIG_FEC_ENET
 #define CONFIG_ETHPRIME                "SCC ETHERNET"
 
+/* pass open firmware flat tree */
+#define CONFIG_OF_LIBFDT       1
+#define CONFIG_OF_BOARD_SETUP  1
+#define CONFIG_HWCONFIG                1
+
 #endif /* __CONFIG_H */
index d435819aaaa4328d1b9d81967149cc59e7782ef6..0fc4b69acf3dc5f54c55a6f582bb9130d51db05f 100644 (file)
 
 #define CONFIG_ETHPRIME                "SCC ETHERNET"
 
+/* pass open firmware flat tree */
+#define CONFIG_OF_LIBFDT       1
+#define CONFIG_OF_BOARD_SETUP  1
+#define CONFIG_HWCONFIG                1
+
 #endif /* __CONFIG_H */
index f7813a1ff67a9ec033531b90ba6836c66fbed4c0..7046e6739d648130f6aa20a54c5f3dd77612fc57 100644 (file)
                                                OR_SCY_2_CLK)
 #define CONFIG_SYS_BR4_PRELIM ((CONFIG_SYS_PERIPHERAL_BASE & BR_BA_MSK) | BR_PS_8 | BR_V)
 #define PCMCIA_CTRL (CONFIG_SYS_PERIPHERAL_BASE + 0xB00)
+
+/* pass open firmware flat tree */
+#define CONFIG_OF_LIBFDT       1
+#define CONFIG_OF_BOARD_SETUP  1
+#define CONFIG_HWCONFIG                1
+
 #endif /* __CONFIG_H */