Ignore:
Timestamp:
2010-04-25T18:20:16+02:00 (7 years ago)
Author:
ralph
Message:

[ifxmips] refresh 2.6.33 patches, add more mach support, add crypto support, tbd. mach/board detection

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/target/linux/ifxmips/files-2.6.33/arch/mips/ifxmips/common/prom.c

    r20789 r21159  
    55 
    66#include <asm/bootinfo.h> 
     7#include <machine.h> 
    78 
    89#include <ifxmips.h> 
     
    6667__setup("ethaddr", ifxmips_set_ethaddr); 
    6768 
    68 void __init 
    69 prom_init(void) 
     69static void __init prom_detect_machtype(void) 
     70{ 
     71        mips_machtype = IFXMIPS_MACH_EASY50712; 
     72} 
     73 
     74static void __init prom_init_cmdline(void) 
    7075{ 
    7176        int argc = fw_arg0; 
     
    130135        add_memory_region(0x00000000, memsize, BOOT_MEM_RAM); 
    131136} 
     137 
     138void __init 
     139prom_init(void) 
     140{ 
     141        prom_detect_machtype(); 
     142        prom_init_cmdline(); 
     143} 
Note: See TracChangeset for help on using the changeset viewer.