Changeset 24112


Ignore:
Timestamp:
2010-11-23T15:08:41+01:00 (6 years ago)
Author:
acoul
Message:

linux/brcm47xx: Broadcom BCM4710 does not belong in the BMIPS4KC family.

Location:
trunk/target/linux/brcm47xx/patches-2.6.37
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/target/linux/brcm47xx/patches-2.6.37/150-cpu_fixes.patch

    r24102 r24112  
    320320+       /* Check if special workarounds are required */ 
    321321+#ifdef CONFIG_BCM47XX 
    322 +       if (current_cpu_data.cputype == CPU_BMIPS4KC && (current_cpu_data.processor_id & 0xff) == 0) { 
     322+       if (current_cpu_data.cputype == CPU_BCM4710 && (current_cpu_data.processor_id & 0xff) == 0) { 
    323323+               printk("Enabling BCM4710A0 cache workarounds.\n"); 
    324324+               bcm4710 = 1; 
  • trunk/target/linux/brcm47xx/patches-2.6.37/920-cache-wround.patch

    r23945 r24112  
    3535--- a/arch/mips/mm/tlbex.c 
    3636+++ b/arch/mips/mm/tlbex.c 
    37 @@ -711,6 +711,9 @@ build_get_pgde32(u32 **p, unsigned int t 
     37@@ -712,6 +712,9 @@ build_get_pgde32(u32 **p, unsigned int t 
    3838 #endif 
    3939        uasm_i_addu(p, ptr, tmp, ptr); 
     
    4545 #endif 
    4646        uasm_i_mfc0(p, tmp, C0_BADVADDR); /* get faulting address */ 
    47 @@ -872,12 +875,12 @@ static void __cpuinit build_r4000_tlb_re 
     47@@ -873,12 +876,12 @@ static void __cpuinit build_r4000_tlb_re 
    4848                /* No need for uasm_i_nop */ 
    4949        } 
     
    6161 #endif 
    6262  
    63 @@ -889,6 +892,9 @@ static void __cpuinit build_r4000_tlb_re 
     63@@ -890,6 +893,9 @@ static void __cpuinit build_r4000_tlb_re 
    6464        build_update_entries(&p, K0, K1); 
    6565        build_tlb_write_entry(&p, &l, &r, tlb_random); 
     
    7171  
    7272 #ifdef CONFIG_HUGETLB_PAGE 
    73 @@ -1325,12 +1331,12 @@ build_r4000_tlbchange_handler_head(u32 * 
     73@@ -1326,12 +1332,12 @@ build_r4000_tlbchange_handler_head(u32 * 
    7474                                   struct uasm_reloc **r, unsigned int pte, 
    7575                                   unsigned int ptr) 
     
    8787 #endif 
    8888  
    89 @@ -1367,6 +1373,9 @@ build_r4000_tlbchange_handler_tail(u32 * 
     89@@ -1368,6 +1374,9 @@ build_r4000_tlbchange_handler_tail(u32 * 
    9090        build_update_entries(p, tmp, ptr); 
    9191        build_tlb_write_entry(p, l, r, tlb_indexed); 
Note: See TracChangeset for help on using the changeset viewer.