Fix brcm63xx support. Now a kernel is booting, detecting the flash, and can probably...
[openwrt/staging/dedeckeh.git] / openwrt / target / linux / brcm63xx-2.6 / patches / 011-include_mach_bcm963xx.patch
1 diff -Naurp linux-2.6.16.7-generic-patched/include/asm-mips/mach-bcm963xx/cpu-feature-overrides.h linux-2.6.16.7-patched/include/asm-mips/mach-bcm963xx/cpu-feature-overrides.h
2 --- linux-2.6.16.7-generic-patched/include/asm-mips/mach-bcm963xx/cpu-feature-overrides.h 1970-01-01 01:00:00.000000000 +0100
3 +++ linux-2.6.16.7-patched/include/asm-mips/mach-bcm963xx/cpu-feature-overrides.h 2006-07-05 15:21:58.000000000 +0200
4 @@ -0,0 +1,36 @@
5 +#ifndef __ASM_MACH_BCM963XX_CPU_FEATURE_OVERRIDES_H
6 +#define __ASM_MACH_BCM963XX_CPU_FEATURE_OVERRIDES_H
7 +
8 +#define cpu_has_tlb 1
9 +#define cpu_has_4kex 4
10 +#define cpu_has_4ktlb 8
11 +#define cpu_has_fpu 0
12 +#define cpu_has_32fpr 0
13 +#define cpu_has_counter 0x40
14 +#define cpu_has_watch 0
15 +#define cpu_has_mips16 0
16 +#define cpu_has_divec 0x200
17 +#define cpu_has_vce 0
18 +#define cpu_has_cache_cdex_p 0
19 +#define cpu_has_cache_cdex_s 0
20 +#define cpu_has_prefetch 0x40000
21 +#define cpu_has_mcheck 0x2000
22 +#define cpu_has_ejtag 0x4000
23 +#define cpu_has_llsc 0x10000
24 +#define cpu_has_vtag_icache 0
25 +#define cpu_has_dc_aliases 0
26 +#define cpu_has_ic_fills_f_dc 0
27 +
28 +#define cpu_has_nofpuex 0
29 +#define cpu_has_64bits 0
30 +#define cpu_has_64bit_zero_reg 0
31 +#define cpu_has_64bit_gp_regs 0
32 +#define cpu_has_64bit_addresses 0
33 +
34 +#define cpu_has_subset_pcaches 0
35 +
36 +#define cpu_dcache_line_size() 16
37 +#define cpu_icache_line_size() 16
38 +#define cpu_scache_line_size() 0
39 +
40 +#endif /* __ASM_MACH_BCM963XX_CPU_FEATURE_OVERRIDES_H */