projects
/
platform
/
kernel
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
TQM8xx: enable device tree support on all TQM8xx based boards.
[platform/kernel/u-boot.git]
/
include
/
configs
/
TQM823M.h
diff --git
a/include/configs/TQM823M.h
b/include/configs/TQM823M.h
index
f666443
..
64c9707
100644
(file)
--- a/
include/configs/TQM823M.h
+++ b/
include/configs/TQM823M.h
@@
-41,8
+41,8
@@
#endif
#define CONFIG_8xx_CONS_SMC1 1 /* Console is on SMC1 */
#endif
#define CONFIG_8xx_CONS_SMC1 1 /* Console is on SMC1 */
-#
undef CONFIG_8xx_CONS_SMC2
-#
undef CONFIG_8xx_CONS_NONE
+#
define CONFIG_SYS_SMC_RXBUFLEN 128
+#
define CONFIG_SYS_MAXIDLE 10
#define CONFIG_BAUDRATE 115200 /* console baudrate = 115kbps */
#define CONFIG_BOOTCOUNT_LIMIT
#define CONFIG_BAUDRATE 115200 /* console baudrate = 115kbps */
#define CONFIG_BOOTCOUNT_LIMIT
@@
-228,6
+228,8
@@
* Dynamic MTD partition support
*/
#define CONFIG_CMD_MTDPARTS
* Dynamic MTD partition support
*/
#define CONFIG_CMD_MTDPARTS
+#define CONFIG_MTD_DEVICE /* needed for mtdparts commands */
+#define CONFIG_FLASH_CFI_MTD
#define MTDIDS_DEFAULT "nor0=TQM8xxM-0"
#define MTDPARTS_DEFAULT "mtdparts=TQM8xxM-0:512k(u-boot)," \
#define MTDIDS_DEFAULT "nor0=TQM8xxM-0"
#define MTDPARTS_DEFAULT "mtdparts=TQM8xxM-0:512k(u-boot)," \
@@
-484,4
+486,9
@@
#define BOOTFLAG_COLD 0x01 /* Normal Power-On: Boot from FLASH */
#define BOOTFLAG_WARM 0x02 /* Software reboot */
#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 */
#endif /* __CONFIG_H */