probe.c (bef986502fa398b1785a3979b1aa17cd902d3527) | probe.c (41504c39726a7099e5a42508dd57fe561c8b4129) |
---|---|
1/* 2 * arch/sh/kernel/cpu/sh4/probe.c 3 * 4 * CPU Subtype Probing for SH-4. 5 * 6 * Copyright (C) 2001 - 2006 Paul Mundt 7 * Copyright (C) 2003 Richard Curnow 8 * --- 105 unchanged lines hidden (view full) --- 114 cpu_data->icache.ways = 4; 115 cpu_data->dcache.ways = 4; 116 117 cpu_data->flags |= CPU_HAS_FPU | CPU_HAS_PERF_COUNTER | 118 CPU_HAS_LLSC; 119 break; 120 case 0x3000: 121 case 0x3003: | 1/* 2 * arch/sh/kernel/cpu/sh4/probe.c 3 * 4 * CPU Subtype Probing for SH-4. 5 * 6 * Copyright (C) 2001 - 2006 Paul Mundt 7 * Copyright (C) 2003 Richard Curnow 8 * --- 105 unchanged lines hidden (view full) --- 114 cpu_data->icache.ways = 4; 115 cpu_data->dcache.ways = 4; 116 117 cpu_data->flags |= CPU_HAS_FPU | CPU_HAS_PERF_COUNTER | 118 CPU_HAS_LLSC; 119 break; 120 case 0x3000: 121 case 0x3003: |
122 case 0x3009: |
|
122 cpu_data->type = CPU_SH7343; 123 cpu_data->icache.ways = 4; 124 cpu_data->dcache.ways = 4; 125 cpu_data->flags |= CPU_HAS_LLSC; 126 break; | 123 cpu_data->type = CPU_SH7343; 124 cpu_data->icache.ways = 4; 125 cpu_data->dcache.ways = 4; 126 cpu_data->flags |= CPU_HAS_LLSC; 127 break; |
128 case 0x3008: 129 if (prr == 0xa0) { 130 cpu_data->type = CPU_SH7722; 131 cpu_data->icache.ways = 4; 132 cpu_data->dcache.ways = 4; 133 cpu_data->flags |= CPU_HAS_LLSC; 134 } 135 break; |
|
127 case 0x8000: 128 cpu_data->type = CPU_ST40RA; 129 cpu_data->flags |= CPU_HAS_FPU; 130 break; 131 case 0x8100: 132 cpu_data->type = CPU_ST40GX1; 133 cpu_data->flags |= CPU_HAS_FPU; 134 break; --- 105 unchanged lines hidden --- | 136 case 0x8000: 137 cpu_data->type = CPU_ST40RA; 138 cpu_data->flags |= CPU_HAS_FPU; 139 break; 140 case 0x8100: 141 cpu_data->type = CPU_ST40GX1; 142 cpu_data->flags |= CPU_HAS_FPU; 143 break; --- 105 unchanged lines hidden --- |