Changeset 47800


Ignore:
Timestamp:
2015-12-07T10:31:52+01:00 (2 years ago)
Author:
rmilecki
Message:

kernel: add bcm47xxpart patches sent for 4.5 merge window

This replaces old bcm53xx patch for scanning whole flash and makes
bcm47xxpart compatible with NAND.

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

Location:
trunk/target/linux
Files:
8 added
3 deleted
11 edited

Legend:

Unmodified
Added
Removed
  • trunk/target/linux/bcm53xx/patches-4.1/901-mtd-bcm47xxpart-workaround-for-Asus-RT-AC87U-asus-pa.patch

    r45711 r47800  
    2323 #include <uapi/linux/magic.h> 
    2424  
    25 @@ -135,6 +136,17 @@ static int bcm47xxpart_parse(struct mtd_ 
     25@@ -132,6 +133,17 @@ static int bcm47xxpart_parse(struct mtd_ 
    2626                        break; 
    2727                } 
     
    3939+ 
    4040                /* Read beginning of the block */ 
    41                 if (mtd_read(master, offset, BCM47XXPART_BYTES_TO_READ, 
    42                              &bytes_read, (uint8_t *)buf) < 0) { 
     41                err = mtd_read(master, offset, BCM47XXPART_BYTES_TO_READ, 
     42                               &bytes_read, (uint8_t *)buf); 
  • trunk/target/linux/bcm53xx/patches-4.3/901-mtd-bcm47xxpart-workaround-for-Asus-RT-AC87U-asus-pa.patch

    r45711 r47800  
    2323 #include <uapi/linux/magic.h> 
    2424  
    25 @@ -135,6 +136,17 @@ static int bcm47xxpart_parse(struct mtd_ 
     25@@ -132,6 +133,17 @@ static int bcm47xxpart_parse(struct mtd_ 
    2626                        break; 
    2727                } 
     
    3939+ 
    4040                /* Read beginning of the block */ 
    41                 if (mtd_read(master, offset, BCM47XXPART_BYTES_TO_READ, 
    42                              &bytes_read, (uint8_t *)buf) < 0) { 
     41                err = mtd_read(master, offset, BCM47XXPART_BYTES_TO_READ, 
     42                               &bytes_read, (uint8_t *)buf); 
  • trunk/target/linux/bcm53xx/patches-4.4/901-mtd-bcm47xxpart-workaround-for-Asus-RT-AC87U-asus-pa.patch

    r47703 r47800  
    2323 #include <uapi/linux/magic.h> 
    2424  
    25 @@ -135,6 +136,17 @@ static int bcm47xxpart_parse(struct mtd_ 
     25@@ -132,6 +133,17 @@ static int bcm47xxpart_parse(struct mtd_ 
    2626                        break; 
    2727                } 
     
    3939+ 
    4040                /* Read beginning of the block */ 
    41                 if (mtd_read(master, offset, BCM47XXPART_BYTES_TO_READ, 
    42                              &bytes_read, (uint8_t *)buf) < 0) { 
     41                err = mtd_read(master, offset, BCM47XXPART_BYTES_TO_READ, 
     42                               &bytes_read, (uint8_t *)buf); 
  • trunk/target/linux/generic/patches-3.18/431-mtd-bcm47xxpart-support-for-Xiaomi-specific-board_da.patch

    r44318 r47800  
    2323 #define FACTORY_MAGIC                  0x59544346      /* FCTY */ 
    2424 #define NVRAM_HEADER                   0x48534C46      /* FLSH */ 
    25 @@ -262,7 +263,8 @@ static int bcm47xxpart_parse(struct mtd_ 
     25@@ -267,7 +268,8 @@ static int bcm47xxpart_parse(struct mtd_ 
    2626                } 
    2727  
  • trunk/target/linux/generic/patches-3.18/432-mtd-bcm47xxpart-detect-T_Meter-partition.patch

    r44318 r47800  
    2525 #define ML_MAGIC2                      0x26594131 
    2626 #define TRX_MAGIC                      0x30524448 
    27 @@ -176,6 +177,15 @@ static int bcm47xxpart_parse(struct mtd_ 
     27@@ -180,6 +181,15 @@ static int bcm47xxpart_parse(struct mtd_ 
    2828                                             MTD_WRITEABLE); 
    2929                        continue; 
  • trunk/target/linux/generic/patches-4.1/431-mtd-bcm47xxpart-support-for-Xiaomi-specific-board_da.patch

    r46112 r47800  
    2323 #define FACTORY_MAGIC                  0x59544346      /* FCTY */ 
    2424 #define NVRAM_HEADER                   0x48534C46      /* FLSH */ 
    25 @@ -262,7 +263,8 @@ static int bcm47xxpart_parse(struct mtd_ 
     25@@ -267,7 +268,8 @@ static int bcm47xxpart_parse(struct mtd_ 
    2626                } 
    2727  
  • trunk/target/linux/generic/patches-4.1/432-mtd-bcm47xxpart-detect-T_Meter-partition.patch

    r46112 r47800  
    2525 #define ML_MAGIC2                      0x26594131 
    2626 #define TRX_MAGIC                      0x30524448 
    27 @@ -176,6 +177,15 @@ static int bcm47xxpart_parse(struct mtd_ 
     27@@ -180,6 +181,15 @@ static int bcm47xxpart_parse(struct mtd_ 
    2828                                             MTD_WRITEABLE); 
    2929                        continue; 
  • trunk/target/linux/generic/patches-4.3/431-mtd-bcm47xxpart-support-for-Xiaomi-specific-board_da.patch

    r46112 r47800  
    2323 #define FACTORY_MAGIC                  0x59544346      /* FCTY */ 
    2424 #define NVRAM_HEADER                   0x48534C46      /* FLSH */ 
    25 @@ -262,7 +263,8 @@ static int bcm47xxpart_parse(struct mtd_ 
     25@@ -267,7 +268,8 @@ static int bcm47xxpart_parse(struct mtd_ 
    2626                } 
    2727  
  • trunk/target/linux/generic/patches-4.3/432-mtd-bcm47xxpart-detect-T_Meter-partition.patch

    r46112 r47800  
    2525 #define ML_MAGIC2                      0x26594131 
    2626 #define TRX_MAGIC                      0x30524448 
    27 @@ -176,6 +177,15 @@ static int bcm47xxpart_parse(struct mtd_ 
     27@@ -180,6 +181,15 @@ static int bcm47xxpart_parse(struct mtd_ 
    2828                                             MTD_WRITEABLE); 
    2929                        continue; 
  • trunk/target/linux/generic/patches-4.4/431-mtd-bcm47xxpart-support-for-Xiaomi-specific-board_da.patch

    r47701 r47800  
    2323 #define FACTORY_MAGIC                  0x59544346      /* FCTY */ 
    2424 #define NVRAM_HEADER                   0x48534C46      /* FLSH */ 
    25 @@ -262,7 +263,8 @@ static int bcm47xxpart_parse(struct mtd_ 
     25@@ -267,7 +268,8 @@ static int bcm47xxpart_parse(struct mtd_ 
    2626                } 
    2727  
  • trunk/target/linux/generic/patches-4.4/432-mtd-bcm47xxpart-detect-T_Meter-partition.patch

    r47701 r47800  
    2525 #define ML_MAGIC2                      0x26594131 
    2626 #define TRX_MAGIC                      0x30524448 
    27 @@ -176,6 +177,15 @@ static int bcm47xxpart_parse(struct mtd_ 
     27@@ -180,6 +181,15 @@ static int bcm47xxpart_parse(struct mtd_ 
    2828                                             MTD_WRITEABLE); 
    2929                        continue; 
Note: See TracChangeset for help on using the changeset viewer.