summaryrefslogtreecommitdiff
path: root/target/linux/adm5120-2.6
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2007-07-23 13:33:56 +0000
committerGabor Juhos <juhosg@openwrt.org>2007-07-23 13:33:56 +0000
commit1cea8d99bf4274a7246111fa75dce573d286d67c (patch)
treeeacdaafb356598c7c84a89da0ccc7b5fdfacc3da /target/linux/adm5120-2.6
parent3e30b51c06b8c3a8f7be5d3c85b9041379993299 (diff)
downloadmtk-20170518-1cea8d99bf4274a7246111fa75dce573d286d67c.zip
mtk-20170518-1cea8d99bf4274a7246111fa75dce573d286d67c.tar.gz
mtk-20170518-1cea8d99bf4274a7246111fa75dce573d286d67c.tar.bz2
board specific fixes * fix detection of RB-133C, thanks to Christophe Lucas * fix detection of RB-153 * add support for WP54G-WRT to the lzma-loader * fix adm5120_mtd.c for WP54G-WRT in 7.07 * now it's ready for the release of 7.07
SVN-Revision: 8128
Diffstat (limited to 'target/linux/adm5120-2.6')
-rw-r--r--target/linux/adm5120-2.6/files/arch/mips/adm5120/prom.c4
-rw-r--r--target/linux/adm5120-2.6/image/lzma-loader/src/config.h8
2 files changed, 11 insertions, 1 deletions
diff --git a/target/linux/adm5120-2.6/files/arch/mips/adm5120/prom.c b/target/linux/adm5120-2.6/files/arch/mips/adm5120/prom.c
index c14c172..7b125a1 100644
--- a/target/linux/adm5120-2.6/files/arch/mips/adm5120/prom.c
+++ b/target/linux/adm5120-2.6/files/arch/mips/adm5120/prom.c
@@ -71,8 +71,10 @@ static struct board_desc common_boards[] __initdata = {
DEFBOARD("112", MACH_ADM5120_RB_112),
DEFBOARD("133", MACH_ADM5120_RB_133),
DEFBOARD("133C", MACH_ADM5120_RB_133C),
- DEFBOARD("miniROUTER", MACH_ADM5120_RB_150),
+ DEFBOARD("133C3", MACH_ADM5120_RB_133C),
+ DEFBOARD("150", MACH_ADM5120_RB_153), /* it's intentional */
DEFBOARD("153", MACH_ADM5120_RB_153),
+ DEFBOARD("miniROUTER", MACH_ADM5120_RB_150),
};
static unsigned long __init find_machtype_byname(char *name)
diff --git a/target/linux/adm5120-2.6/image/lzma-loader/src/config.h b/target/linux/adm5120-2.6/image/lzma-loader/src/config.h
index f8bb8e2..310189c 100644
--- a/target/linux/adm5120-2.6/image/lzma-loader/src/config.h
+++ b/target/linux/adm5120-2.6/image/lzma-loader/src/config.h
@@ -49,6 +49,14 @@
#endif
/*
+ * Compex boards
+ */
+#if defined(CONFIG_BOARD_WP54GWRT)
+# define CONFIG_BOARD_NAME "WP54G-WRT"
+# define CONFIG_FLASH_SIZE FLASH_4M
+#endif
+
+/*
* Edimax boards
*/
#if defined(CONFIG_BOARD_BR6104K)