Changeset 9956


Ignore:
Timestamp:
2007-12-27T12:53:52+01:00 (9 years ago)
Author:
blogic
Message:

add twinpass detection to ifxmips

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/target/linux/ifxmips/files/arch/mips/ifxmips/board.c

    r9926 r9956  
    2828#include <linux/kernel.h> 
    2929#include <linux/reboot.h> 
    30 #include <linux/platform_device.h>  
     30#include <linux/platform_device.h> 
    3131#include <asm/bootinfo.h> 
    3232#include <asm/reboot.h> 
     
    4242 
    4343#define BOARD_TWINPASS                  "Twinpass" 
     44#define BOARD_TWINPASS_CHIPID   0x3012D083 
    4445 
    4546#define BOARD_DANUBE                    "Danube" 
     
    7273        }, 
    7374}; 
    74          
     75 
    7576static struct physmap_flash_data ifxmips_mtd_data = { 
    7677        .width    = 2, 
     
    104105        case BOARD_DANUBE_CHIPID: 
    105106                return BOARD_DANUBE; 
     107 
     108        case BOARD_TWINPASS_CHIPID: 
     109                return BOARD_TWINPASS; 
    106110        } 
    107111 
Note: See TracChangeset for help on using the changeset viewer.