Changeset 35533


Ignore:
Timestamp:
2013-02-10T13:31:31+01:00 (5 years ago)
Author:
jogo
Message:

bcm63xx: handle huawei nvram layout

Use a different length for calculating the nvram checksum on hauwei
boards. Fixes boot on HW553 and HW556.

Signed-off-by: Jonas Gorski <jogo@…>

Location:
trunk/target/linux/brcm63xx
Files:
2 added
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/target/linux/brcm63xx/patches-3.7/429-MIPS-BCM63XX-export-PSI-size-from-nvram.patch

    r35481 r35533  
    2121 static int mac_addr_used; 
    2222  
    23 @@ -105,3 +107,12 @@ int bcm63xx_nvram_get_mac_address(u8 *ma 
     23@@ -121,3 +123,12 @@ int bcm63xx_nvram_get_mac_address(u8 *ma 
    2424        return 0; 
    2525 } 
  • trunk/target/linux/brcm63xx/patches-3.7/556-board_rta770w.patch

    r35500 r35533  
    11--- a/arch/mips/bcm63xx/boards/board_bcm963xx.c 
    22+++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c 
    3 @@ -796,6 +796,60 @@ 
     3@@ -803,6 +803,60 @@ static struct board_info __initdata boar 
    44                }, 
    55        }, 
     
    6262  
    6363 /* 
    64 @@ -3750,6 +3804,7 @@ 
     64@@ -3757,6 +3811,7 @@ static const struct board_info __initcon 
    6565 #ifdef CONFIG_BCM63XX_CPU_6345 
    6666        &board_96345gw2, 
  • trunk/target/linux/brcm63xx/patches-3.7/801-ssb_export_fallback_sprom.patch

    r35481 r35533  
    99 #include <linux/spi/spi_gpio.h> 
    1010 #include <linux/spi/74x164.h> 
    11 @@ -3818,7 +3819,7 @@ static const struct board_info __initcon 
     11@@ -3873,7 +3874,7 @@ static const struct board_info __initcon 
    1212  * bcm4318 WLAN work 
    1313  */ 
     
    1818        .board_rev              = 0x17, 
    1919        .country_code           = 0x0, 
    20 @@ -3838,6 +3839,7 @@ static struct ssb_sprom bcm63xx_sprom = 
     20@@ -3893,6 +3894,7 @@ static struct ssb_sprom bcm63xx_sprom = 
    2121        .boardflags_lo          = 0x2848, 
    2222        .boardflags_hi          = 0x0000, 
  • trunk/target/linux/brcm63xx/patches-3.8/429-MIPS-BCM63XX-export-PSI-size-from-nvram.patch

    r35482 r35533  
    2121 static int mac_addr_used; 
    2222  
    23 @@ -105,3 +107,12 @@ int bcm63xx_nvram_get_mac_address(u8 *ma 
     23@@ -121,3 +123,12 @@ int bcm63xx_nvram_get_mac_address(u8 *ma 
    2424        return 0; 
    2525 } 
  • trunk/target/linux/brcm63xx/patches-3.8/556-board_rta770w.patch

    r35500 r35533  
    11--- a/arch/mips/bcm63xx/boards/board_bcm963xx.c 
    22+++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c 
    3 @@ -796,6 +796,60 @@ 
     3@@ -803,6 +803,60 @@ static struct board_info __initdata boar 
    44                }, 
    55        }, 
     
    6262  
    6363 /* 
    64 @@ -3750,6 +3804,7 @@ 
     64@@ -3757,6 +3811,7 @@ static const struct board_info __initcon 
    6565 #ifdef CONFIG_BCM63XX_CPU_6345 
    6666        &board_96345gw2, 
  • trunk/target/linux/brcm63xx/patches-3.8/801-ssb_export_fallback_sprom.patch

    r35482 r35533  
    99 #include <linux/spi/spi_gpio.h> 
    1010 #include <linux/spi/74x164.h> 
    11 @@ -3818,7 +3819,7 @@ static const struct board_info __initcon 
     11@@ -3873,7 +3874,7 @@ static const struct board_info __initcon 
    1212  * bcm4318 WLAN work 
    1313  */ 
     
    1818        .board_rev              = 0x17, 
    1919        .country_code           = 0x0, 
    20 @@ -3838,6 +3839,7 @@ static struct ssb_sprom bcm63xx_sprom = 
     20@@ -3893,6 +3894,7 @@ static struct ssb_sprom bcm63xx_sprom = 
    2121        .boardflags_lo          = 0x2848, 
    2222        .boardflags_hi          = 0x0000, 
Note: See TracChangeset for help on using the changeset viewer.