summaryrefslogtreecommitdiffstats
path: root/target/linux/adm5120/image/lzma-loader/src/config.h
diff options
context:
space:
mode:
authorjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2008-09-23 14:56:29 +0000
committerjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2008-09-23 14:56:29 +0000
commitd5723b9bc31596d77ad082d16c14ac50ac3988f9 (patch)
tree0c7a44c83c9059418c27ef12db4fde06316f9346 /target/linux/adm5120/image/lzma-loader/src/config.h
parenta66691d8cbcb4b0cf5ce42125c06395573e78127 (diff)
[adm5120] experimental support for the Motorola MU Gateway
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12662 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/adm5120/image/lzma-loader/src/config.h')
-rw-r--r--target/linux/adm5120/image/lzma-loader/src/config.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/target/linux/adm5120/image/lzma-loader/src/config.h b/target/linux/adm5120/image/lzma-loader/src/config.h
index 74ae9afa2..4e8b5f647 100644
--- a/target/linux/adm5120/image/lzma-loader/src/config.h
+++ b/target/linux/adm5120/image/lzma-loader/src/config.h
@@ -98,6 +98,14 @@
#endif
/*
+ * Motorola boards
+ */
+#if defined(CONFIG_BOARD_POWERLINEMUGW)
+# define CONFIG_BOARD_NAME "Powerline MU Gateway"
+# define CONFIG_USE_UART1 1
+#endif
+
+/*
* ZyXEL boards
*/
#if defined(CONFIG_BOARD_P334WT)
@@ -121,4 +129,8 @@
# define CONFIG_FLASH_SIZE FLASH_2M
#endif
+#if !defined(CONFIG_USE_UART0) && !defined(CONFIG_USE_UART1)
+# define CONFIG_USE_UART0
+#endif
+
#endif /* _CONFIG_H_ */