[adm5120] board specific fixes
authorjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 23 Jul 2007 13:33:56 +0000 (13:33 +0000)
committerjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 23 Jul 2007 13:33:56 +0000 (13:33 +0000)
 * 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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8128 3c298f89-4303-0410-b956-a3cf2f4a3e73

target/linux/adm5120-2.6/files/arch/mips/adm5120/prom.c
target/linux/adm5120-2.6/image/lzma-loader/src/config.h

index c14c1722995179c470377dc0cb99bd24a892568e..7b125a1fc9450e8d4c50541f86fe6a6b5589d106 100644 (file)
@@ -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)
index f8bb8e2cce8bb4efab5f69556038365d59336704..310189c6d6fd3c38dd48caebd2f8a08d18644b7e 100644 (file)
 #  define CONFIG_FLASH_SIZE    FLASH_4M
 #endif
 
+/*
+ * Compex boards
+ */
+#if defined(CONFIG_BOARD_WP54GWRT)
+#  define CONFIG_BOARD_NAME    "WP54G-WRT"
+#  define CONFIG_FLASH_SIZE    FLASH_4M
+#endif
+
 /*
  * Edimax boards
  */