Changeset 14338


Ignore:
Timestamp:
2009-02-01T10:46:04+01:00 (9 years ago)
Author:
juhosg
Message:

[ar71xx] print some informations about the SoC at bootup

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/target/linux/ar71xx/files/arch/mips/ar71xx/setup.c

    r13656 r14338  
    259259        detect_sys_frequency(); 
    260260 
     261        printk(KERN_INFO 
     262                "%s, CPU:%u.%03u MHz, AHB:%u.%03u MHz, DDR:%u.%03u MHz\n", 
     263                ar71xx_sys_type, 
     264                ar71xx_cpu_freq / 1000000, (ar71xx_cpu_freq / 1000) % 1000, 
     265                ar71xx_ahb_freq / 1000000, (ar71xx_ahb_freq / 1000) % 1000, 
     266                ar71xx_ddr_freq / 1000000, (ar71xx_ddr_freq / 1000) % 1000); 
     267 
    261268        _machine_restart = ar71xx_restart; 
    262269        _machine_halt = ar71xx_halt; 
Note: See TracChangeset for help on using the changeset viewer.