diff options
author | Koen Vandeputte <koen.vandeputte@ncentric.com> | 2017-06-26 11:22:11 +0200 |
---|---|---|
committer | Stijn Tintel <stijn@linux-ipv6.be> | 2017-06-27 07:21:03 +0200 |
commit | 69649a1b45ee0ab7ab3de350dc75f89d867c174c (patch) | |
tree | 440a7951d9d3f646940c91d9066ac92f146f6637 /target/linux/mvebu/patches-4.9/100-find_active_root.patch | |
parent | d18f76f762c0ce128f551735536f3cb996ebcacd (diff) | |
download | mtk-20170518-69649a1b45ee0ab7ab3de350dc75f89d867c174c.zip mtk-20170518-69649a1b45ee0ab7ab3de350dc75f89d867c174c.tar.gz mtk-20170518-69649a1b45ee0ab7ab3de350dc75f89d867c174c.tar.bz2 |
kernel: update kernel 4.9 to 4.9.34
- Refreshed all patches
- Adapted 1 (0031-mtd-add-SMEM-parser-for-QCOM-platforms.patch)
Compile tested on: brcm2708, cns3xxx, imx6
Run tested on: brcm2708, cns3xxx, imx6
Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
[Compile and run tested on brcm2708]
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
Diffstat (limited to 'target/linux/mvebu/patches-4.9/100-find_active_root.patch')
-rw-r--r-- | target/linux/mvebu/patches-4.9/100-find_active_root.patch | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/target/linux/mvebu/patches-4.9/100-find_active_root.patch b/target/linux/mvebu/patches-4.9/100-find_active_root.patch index b8e8c92..d6006b7 100644 --- a/target/linux/mvebu/patches-4.9/100-find_active_root.patch +++ b/target/linux/mvebu/patches-4.9/100-find_active_root.patch @@ -22,9 +22,9 @@ Signed-off-by: Imre Kaloz <kaloz@openwrt.org> struct device_node *pp; int nr_parts, i, ret = 0; bool dedicated = true; -@@ -109,9 +112,13 @@ static int parse_ofpart_partitions(struc - parts[i].offset = of_read_number(reg, a_cells); +@@ -110,9 +113,13 @@ static int parse_ofpart_partitions(struc parts[i].size = of_read_number(reg + a_cells, s_cells); + parts[i].of_node = pp; - partname = of_get_property(pp, "label", &len); - if (!partname) @@ -39,7 +39,7 @@ Signed-off-by: Imre Kaloz <kaloz@openwrt.org> parts[i].name = partname; if (of_get_property(pp, "read-only", &len)) -@@ -212,6 +219,18 @@ static int __init ofpart_parser_init(voi +@@ -213,6 +220,18 @@ static int __init ofpart_parser_init(voi return 0; } |