From 9f44a347ea6b5c067736559846e471704f6b6e1c Mon Sep 17 00:00:00 2001 From: Jonas Gorski Date: Fri, 4 Sep 2015 14:44:36 +0000 Subject: [PATCH] ipq806x: enable smem-parser for nand on AP148 Signed-off-by: Jonas Gorski SVN-Revision: 46785 --- ...arch-qcom-dts-enable-qcom-smem-on-AP148-NAND.patch | 11 +++++++++++ ...7-ARM-dts-qcom-add-mdio-nodes-to-ap148-db149.patch | 6 +++--- ...dts-qcom-add-gmac-nodes-to-ipq806x-platforms.patch | 2 +- ...arch-qcom-dts-enable-qcom-smem-on-AP148-NAND.patch | 11 +++++++++++ ...7-ARM-dts-qcom-add-mdio-nodes-to-ap148-db149.patch | 6 +++--- ...dts-qcom-add-gmac-nodes-to-ipq806x-platforms.patch | 2 +- 6 files changed, 30 insertions(+), 8 deletions(-) create mode 100644 target/linux/ipq806x/patches-3.18/166-arch-qcom-dts-enable-qcom-smem-on-AP148-NAND.patch create mode 100644 target/linux/ipq806x/patches-4.1/166-arch-qcom-dts-enable-qcom-smem-on-AP148-NAND.patch diff --git a/target/linux/ipq806x/patches-3.18/166-arch-qcom-dts-enable-qcom-smem-on-AP148-NAND.patch b/target/linux/ipq806x/patches-3.18/166-arch-qcom-dts-enable-qcom-smem-on-AP148-NAND.patch new file mode 100644 index 0000000000..cae7f156ff --- /dev/null +++ b/target/linux/ipq806x/patches-3.18/166-arch-qcom-dts-enable-qcom-smem-on-AP148-NAND.patch @@ -0,0 +1,11 @@ +--- a/arch/arm/boot/dts/qcom-ipq8064-ap148.dts ++++ b/arch/arm/boot/dts/qcom-ipq8064-ap148.dts +@@ -181,6 +181,8 @@ + + nand-ecc-strength = <4>; + nand-bus-width = <8>; ++ ++ linux,part-probe = "qcom-smem"; + }; + }; + }; diff --git a/target/linux/ipq806x/patches-3.18/707-ARM-dts-qcom-add-mdio-nodes-to-ap148-db149.patch b/target/linux/ipq806x/patches-3.18/707-ARM-dts-qcom-add-mdio-nodes-to-ap148-db149.patch index a4a6a608ac..fe28942117 100644 --- a/target/linux/ipq806x/patches-3.18/707-ARM-dts-qcom-add-mdio-nodes-to-ap148-db149.patch +++ b/target/linux/ipq806x/patches-3.18/707-ARM-dts-qcom-add-mdio-nodes-to-ap148-db149.patch @@ -38,9 +38,9 @@ Signed-off-by: Mathieu Olivari }; gsbi@16300000 { -@@ -182,6 +192,34 @@ - nand-ecc-strength = <4>; - nand-bus-width = <8>; +@@ -184,6 +194,34 @@ + + linux,part-probe = "qcom-smem"; }; + + mdio0: mdio { diff --git a/target/linux/ipq806x/patches-3.18/708-ARM-dts-qcom-add-gmac-nodes-to-ipq806x-platforms.patch b/target/linux/ipq806x/patches-3.18/708-ARM-dts-qcom-add-gmac-nodes-to-ipq806x-platforms.patch index fda1b86bf6..3455d459fe 100644 --- a/target/linux/ipq806x/patches-3.18/708-ARM-dts-qcom-add-gmac-nodes-to-ipq806x-platforms.patch +++ b/target/linux/ipq806x/patches-3.18/708-ARM-dts-qcom-add-gmac-nodes-to-ipq806x-platforms.patch @@ -29,7 +29,7 @@ Signed-off-by: Mathieu Olivari }; gsbi@16300000 { -@@ -220,6 +230,27 @@ +@@ -222,6 +232,27 @@ reg = <4>; }; }; diff --git a/target/linux/ipq806x/patches-4.1/166-arch-qcom-dts-enable-qcom-smem-on-AP148-NAND.patch b/target/linux/ipq806x/patches-4.1/166-arch-qcom-dts-enable-qcom-smem-on-AP148-NAND.patch new file mode 100644 index 0000000000..16df418168 --- /dev/null +++ b/target/linux/ipq806x/patches-4.1/166-arch-qcom-dts-enable-qcom-smem-on-AP148-NAND.patch @@ -0,0 +1,11 @@ +--- a/arch/arm/boot/dts/qcom-ipq8064-ap148.dts ++++ b/arch/arm/boot/dts/qcom-ipq8064-ap148.dts +@@ -154,6 +154,8 @@ + + nand-ecc-strength = <4>; + nand-bus-width = <8>; ++ ++ linux,part-probe = "qcom-smem"; + }; + }; + }; diff --git a/target/linux/ipq806x/patches-4.1/707-ARM-dts-qcom-add-mdio-nodes-to-ap148-db149.patch b/target/linux/ipq806x/patches-4.1/707-ARM-dts-qcom-add-mdio-nodes-to-ap148-db149.patch index 394f378981..0e2b305c99 100644 --- a/target/linux/ipq806x/patches-4.1/707-ARM-dts-qcom-add-mdio-nodes-to-ap148-db149.patch +++ b/target/linux/ipq806x/patches-4.1/707-ARM-dts-qcom-add-mdio-nodes-to-ap148-db149.patch @@ -38,9 +38,9 @@ Signed-off-by: Mathieu Olivari }; gsbi@16300000 { -@@ -155,6 +165,34 @@ - nand-ecc-strength = <4>; - nand-bus-width = <8>; +@@ -157,6 +167,34 @@ + + linux,part-probe = "qcom-smem"; }; + + mdio0: mdio { diff --git a/target/linux/ipq806x/patches-4.1/708-ARM-dts-qcom-add-gmac-nodes-to-ipq806x-platforms.patch b/target/linux/ipq806x/patches-4.1/708-ARM-dts-qcom-add-gmac-nodes-to-ipq806x-platforms.patch index 9b7eacbb4b..0918634d11 100644 --- a/target/linux/ipq806x/patches-4.1/708-ARM-dts-qcom-add-gmac-nodes-to-ipq806x-platforms.patch +++ b/target/linux/ipq806x/patches-4.1/708-ARM-dts-qcom-add-gmac-nodes-to-ipq806x-platforms.patch @@ -29,7 +29,7 @@ Signed-off-by: Mathieu Olivari }; gsbi@16300000 { -@@ -193,6 +203,27 @@ +@@ -195,6 +205,27 @@ reg = <4>; }; }; -- 2.25.1