Changeset 44854


Ignore:
Timestamp:
2015-03-17T08:07:00+01:00 (3 years ago)
Author:
rmilecki
Message:

brcm47xx: rename (and refresh) MTD patch for safety "nvram" partition

Signed-off-by: Rafał Miłecki <zajec5@…>

File:
1 moved

Legend:

Unmodified
Added
Removed
  • trunk/target/linux/brcm47xx/patches-3.18/400-mtd-bcm47xxpart-get-nvram.patch

    r44853 r44854  
    11--- a/drivers/mtd/bcm47xxpart.c 
    22+++ b/drivers/mtd/bcm47xxpart.c 
    3 @@ -93,6 +93,7 @@ static int bcm47xxpart_parse(struct mtd_ 
     3@@ -97,6 +97,7 @@ static int bcm47xxpart_parse(struct mtd_ 
    44        int trx_part = -1; 
    55        int last_trx_part = -1; 
     
    77+       bool found_nvram = false; 
    88  
    9         if (blocksize <= 0x10000) 
    10                 blocksize = 0x10000; 
    11 @@ -281,12 +282,23 @@ static int bcm47xxpart_parse(struct mtd_ 
     9        /* 
     10         * Some really old flashes (like AT45DB*) had smaller erasesize-s, but 
     11@@ -300,12 +301,23 @@ static int bcm47xxpart_parse(struct mtd_ 
    1212                if (buf[0] == NVRAM_HEADER) { 
    1313                        bcm47xxpart_add_part(&parts[curr_part++], "nvram", 
Note: See TracChangeset for help on using the changeset viewer.