Changeset 8e7c9fe in mainline for kernel/arch/ppc32/src/cpu/cpu.c


Ignore:
Timestamp:
2014-09-12T03:45:25Z (11 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
c53b58e
Parents:
3eb0c85 (diff), 105d8d6 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

merge mainline changes

most usb changes were reverted. blink and usbmass were fixed
known problems:
ehci won't initialize
usbmast asserts on unmount (happens on mainline too)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/ppc32/src/cpu/cpu.c

    r3eb0c85 r8e7c9fe  
    3737#include <arch.h>
    3838#include <print.h>
     39#include <fpu_context.h>
    3940
    4041void cpu_arch_init(void)
    4142{
     43#ifdef CONFIG_FPU
     44        fpu_enable();
     45#endif
    4246}
    4347
     
    5256       
    5357        switch (cpu->arch.version) {
    54                 case 8:
    55                         name = "PowerPC 750";
    56                         break;
    57                 case 9:
    58                         name = "PowerPC 604e";
    59                         break;
    60                 case 0x81:
    61                         name = "PowerPC 8260";
    62                         break;
    63                 case 0x8081:
    64                         name = "PowerPC 826xA";
    65                         break;
    66                 default:
    67                         name = "unknown";
     58        case 8:
     59                name = "PowerPC 750";
     60                break;
     61        case 9:
     62                name = "PowerPC 604e";
     63                break;
     64        case 0x81:
     65                name = "PowerPC 8260";
     66                break;
     67        case 0x8081:
     68                name = "PowerPC 826xA";
     69                break;
     70        default:
     71                name = "unknown";
    6872        }
    6973       
Note: See TracChangeset for help on using the changeset viewer.