aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ath25/patches-5.4/141-redboot_partition_scan.patch
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2021-07-18 23:51:48 +0200
committerHauke Mehrtens <hauke@hauke-m.de>2021-07-19 22:47:17 +0200
commita1d50e7b45080f60a0066e9ca88ad756480dd1f8 (patch)
tree22dcfbbc4fc62d12483e9ffb961385d2da9993f3 /target/linux/ath25/patches-5.4/141-redboot_partition_scan.patch
parent88c8d0a2193bd3dd2cf00bc875def6155f2e34db (diff)
downloadupstream-a1d50e7b45080f60a0066e9ca88ad756480dd1f8.tar.gz
upstream-a1d50e7b45080f60a0066e9ca88ad756480dd1f8.tar.bz2
upstream-a1d50e7b45080f60a0066e9ca88ad756480dd1f8.zip
kernel: bump 5.4 to 5.4.132
Manually rebased layerscape/patches-5.4/805-display-0002-drm-rockchip-prepare-common-code-for-cdns-and-rk-dpi.patch All others updated automatically. Compile-tested on: ramips/mt7621 Runtime-tested on: ramips/mt7621 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Diffstat (limited to 'target/linux/ath25/patches-5.4/141-redboot_partition_scan.patch')
-rw-r--r--target/linux/ath25/patches-5.4/141-redboot_partition_scan.patch6
1 files changed, 3 insertions, 3 deletions
diff --git a/target/linux/ath25/patches-5.4/141-redboot_partition_scan.patch b/target/linux/ath25/patches-5.4/141-redboot_partition_scan.patch
index 3302d6d247..343eedc075 100644
--- a/target/linux/ath25/patches-5.4/141-redboot_partition_scan.patch
+++ b/target/linux/ath25/patches-5.4/141-redboot_partition_scan.patch
@@ -1,6 +1,6 @@
--- a/drivers/mtd/parsers/redboot.c
+++ b/drivers/mtd/parsers/redboot.c
-@@ -88,12 +88,18 @@ static int parse_redboot_partitions(stru
+@@ -93,12 +93,18 @@ static int parse_redboot_partitions(stru
parse_redboot_of(master);
@@ -19,7 +19,7 @@
return -EIO;
}
offset -= master->erasesize;
-@@ -106,10 +112,6 @@ static int parse_redboot_partitions(stru
+@@ -111,10 +117,6 @@ static int parse_redboot_partitions(stru
goto nogood;
}
}
@@ -30,7 +30,7 @@
printk(KERN_NOTICE "Searching for RedBoot partition table in %s at offset 0x%lx\n",
master->name, offset);
-@@ -182,6 +184,11 @@ static int parse_redboot_partitions(stru
+@@ -187,6 +189,11 @@ static int parse_redboot_partitions(stru
}
if (i == numslots) {
/* Didn't find it */