Changeset 8128


Ignore:
Timestamp:
2007-07-23T15:33:56+02:00 (11 years ago)
Author:
juhosg
Message:

[adm5120] 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
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • tags/kamikaze_7.07/target/linux/adm5120-2.6/files/arch/mips/adm5120/adm5120_info.c

    r7819 r8128  
    428428        ROUTERBOARD("133", MACH_ADM5120_RB_133), 
    429429        ROUTERBOARD("133C", MACH_ADM5120_RB_133C), 
     430        ROUTERBOARD("133C3", MACH_ADM5120_RB_133C), 
     431        ROUTERBOARD("150", MACH_ADM5120_RB_153), /* it's intentional */ 
     432        ROUTERBOARD("153", MACH_ADM5120_RB_153), 
    430433        ROUTERBOARD("miniROUTER", MACH_ADM5120_RB_150), 
    431         ROUTERBOARD("153", MACH_ADM5120_RB_150), 
    432434        DUMMY_BOARD() 
    433435}; 
  • tags/kamikaze_7.07/target/linux/adm5120-2.6/files/drivers/mtd/maps/adm5120_mtd.c

    r8104 r8128  
    5252#include <linux/crc32.h> 
    5353#include <asm/io.h> 
     54#include <asm/bootinfo.h> 
    5455#include <asm/mach-adm5120/myloader.h> 
    5556#include <asm/mach-adm5120/adm5120_info.h> 
     
    432433 
    433434#ifdef CONFIG_MTD_PARTITIONS 
    434  
    435         if (adm5120_boot_loader == BOOT_LOADER_CFE) 
     435        if (mips_machtype == MACH_ADM5120_WP54G_WRT) 
    436436        { 
    437437                printk(KERN_NOTICE "adm5120 : using CFE flash mapping\n"); 
  • tags/kamikaze_7.07/target/linux/adm5120-2.6/image/lzma-loader/src/config.h

    r7723 r8128  
    3333#if defined(CONFIG_BOARD_NFS202U) 
    3434#  define CONFIG_BOARD_NAME     "NFS-202U" 
     35#endif 
     36 
     37/* 
     38 * Compex boards 
     39 */ 
     40#if defined(CONFIG_BOARD_WP54GWRT) 
     41#  define CONFIG_BOARD_NAME     "WP54G-WRT" 
    3542#endif 
    3643 
  • trunk/target/linux/adm5120-2.6/files/arch/mips/adm5120/prom.c

    r8021 r8128  
    7272        DEFBOARD("133",                 MACH_ADM5120_RB_133), 
    7373        DEFBOARD("133C",                MACH_ADM5120_RB_133C), 
     74        DEFBOARD("133C3",               MACH_ADM5120_RB_133C), 
     75        DEFBOARD("150",                 MACH_ADM5120_RB_153), /* it's intentional */ 
     76        DEFBOARD("153",                 MACH_ADM5120_RB_153), 
    7477        DEFBOARD("miniROUTER",          MACH_ADM5120_RB_150), 
    75         DEFBOARD("153",                 MACH_ADM5120_RB_153), 
    7678}; 
    7779 
  • trunk/target/linux/adm5120-2.6/image/lzma-loader/src/config.h

    r8021 r8128  
    4646#if defined(CONFIG_BOARD_NFS202U) 
    4747#  define CONFIG_BOARD_NAME     "NFS-202U" 
     48#  define CONFIG_FLASH_SIZE     FLASH_4M 
     49#endif 
     50 
     51/* 
     52 * Compex boards 
     53 */ 
     54#if defined(CONFIG_BOARD_WP54GWRT) 
     55#  define CONFIG_BOARD_NAME     "WP54G-WRT" 
    4856#  define CONFIG_FLASH_SIZE     FLASH_4M 
    4957#endif 
Note: See TracChangeset for help on using the changeset viewer.