Changeset 38178


Ignore:
Timestamp:
2013-09-25T16:38:56+02:00 (4 years ago)
Author:
juhosg
Message:

kernel/3.10: refresh patches

Signed-off-by: Gabor Juhos <juhosg@…>

Location:
trunk/target/linux/generic/patches-3.10
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/target/linux/generic/patches-3.10/405-mtd-add-more-helper-functions.patch

    r38110 r38178  
    1919        if (slave->offset == MTDPART_OFS_RETAIN) { 
    2020                slave->offset = cur_offset; 
    21 @@ -996,6 +994,24 @@ int mtd_is_partition(const struct mtd_in 
     21@@ -995,6 +993,24 @@ int mtd_is_partition(const struct mtd_in 
    2222 } 
    2323 EXPORT_SYMBOL_GPL(mtd_is_partition); 
  • trunk/target/linux/generic/patches-3.10/411-mtd-partial_eraseblock_write.patch

    r38000 r38178  
    11--- a/drivers/mtd/mtdpart.c 
    22+++ b/drivers/mtd/mtdpart.c 
    3 @@ -35,6 +35,8 @@ 
    4   
     3@@ -36,6 +36,8 @@ 
    54 #include "mtdcore.h" 
     5 #include "mtdsplit.h" 
    66  
    77+#define MTD_ERASE_PARTIAL      0x8000 /* partition only covers parts of an erase block */ 
     
    1010 static LIST_HEAD(mtd_partitions); 
    1111 static DEFINE_MUTEX(mtd_partitions_mutex); 
    12 @@ -231,13 +233,60 @@ static int part_erase(struct mtd_info *m 
     12@@ -232,13 +234,60 @@ static int part_erase(struct mtd_info *m 
    1313        struct mtd_part *part = PART(mtd); 
    1414        int ret; 
     
    7171 } 
    7272  
    73 @@ -245,7 +294,25 @@ void mtd_erase_callback(struct erase_inf 
     73@@ -246,7 +295,25 @@ void mtd_erase_callback(struct erase_inf 
    7474 { 
    7575        if (instr->mtd->_erase == part_erase) { 
     
    9797                        instr->fail_addr -= part->offset; 
    9898                instr->addr -= part->offset; 
    99 @@ -505,18 +572,24 @@ static struct mtd_part *allocate_partiti 
     99@@ -504,18 +571,24 @@ static struct mtd_part *allocate_partiti 
    100100        if ((slave->mtd.flags & MTD_WRITEABLE) && 
    101101            mtd_mod_by_eb(slave->offset, &slave->mtd)) { 
  • trunk/target/linux/generic/patches-3.10/412-mtd-partial_eraseblock_unlock.patch

    r38000 r38178  
    11--- a/drivers/mtd/mtdpart.c 
    22+++ b/drivers/mtd/mtdpart.c 
    3 @@ -331,7 +331,14 @@ static int part_lock(struct mtd_info *mt 
     3@@ -332,7 +332,14 @@ static int part_lock(struct mtd_info *mt 
    44 static int part_unlock(struct mtd_info *mtd, loff_t ofs, uint64_t len) 
    55 { 
  • trunk/target/linux/generic/patches-3.10/430-mtd-add-myloader-partition-parser.patch

    r38002 r38178  
    11--- a/drivers/mtd/Kconfig 
    22+++ b/drivers/mtd/Kconfig 
    3 @@ -181,6 +181,22 @@ config MTD_BCM47XX_PARTS 
     3@@ -208,6 +208,22 @@ config MTD_BCM47XX_PARTS 
    44          This provides partitions parser for devices based on BCM47xx 
    55          boards. 
     
    2626--- a/drivers/mtd/Makefile 
    2727+++ b/drivers/mtd/Makefile 
    28 @@ -13,6 +13,7 @@ obj-$(CONFIG_MTD_AFS_PARTS)   += afs.o 
     28@@ -18,6 +18,7 @@ obj-$(CONFIG_MTD_AFS_PARTS)   += afs.o 
    2929 obj-$(CONFIG_MTD_AR7_PARTS)    += ar7part.o 
    3030 obj-$(CONFIG_MTD_BCM63XX_PARTS)        += bcm63xxpart.o 
Note: See TracChangeset for help on using the changeset viewer.