[source] lantiq: remove gen_nand compatible string

LEDE Commits lede-commits at lists.infradead.org
Sat Oct 7 11:15:31 PDT 2017


mkresin pushed a commit to source.git, branch master:
https://git.lede-project.org/a6bd7255ab393ec3a992f2f706cd8177292ef0fc

commit a6bd7255ab393ec3a992f2f706cd8177292ef0fc
Author: Mathias Kresin <dev at kresin.me>
AuthorDate: Sat Oct 7 11:03:43 2017 +0200

    lantiq: remove gen_nand compatible string
    
    The generic nand driver fails to load with:
    
      gen_nand 14000000.nand-parts: platform_nand_data is missing
      gen_nand: probe of 14000000.nand-parts failed with error -22
    
    and the xway-nand driver is used afterwards.
    
    Drop the gen_nand compatible to get rid of the error message.
    
    Signed-off-by: Mathias Kresin <dev at kresin.me>
---
 target/linux/lantiq/dts/BTHOMEHUBV2B.dts  | 2 +-
 target/linux/lantiq/dts/BTHOMEHUBV3A.dts  | 2 +-
 target/linux/lantiq/dts/BTHOMEHUBV5A.dts  | 2 +-
 target/linux/lantiq/dts/EASY80920NAND.dts | 2 +-
 target/linux/lantiq/dts/FRITZ3370.dts     | 2 +-
 target/linux/lantiq/dts/P2812HNUF1.dts    | 2 +-
 target/linux/lantiq/dts/P2812HNUF3.dts    | 2 +-
 7 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/target/linux/lantiq/dts/BTHOMEHUBV2B.dts b/target/linux/lantiq/dts/BTHOMEHUBV2B.dts
index 87b4dfb..d81a113 100644
--- a/target/linux/lantiq/dts/BTHOMEHUBV2B.dts
+++ b/target/linux/lantiq/dts/BTHOMEHUBV2B.dts
@@ -74,7 +74,7 @@
 			};
 
 			nand-parts at 0 {		  /* NAND Flash: Samsung K9F5608U0D-JIB0 32MB */
-				compatible = "gen_nand", "lantiq,nand-xway";
+				compatible = "lantiq,nand-xway";
 				lantiq,cs = <1>;
 				bank-width = <2>;
 				reg = <1 0x0 0x2000000 >;
diff --git a/target/linux/lantiq/dts/BTHOMEHUBV3A.dts b/target/linux/lantiq/dts/BTHOMEHUBV3A.dts
index ca9020b..aa37acd 100644
--- a/target/linux/lantiq/dts/BTHOMEHUBV3A.dts
+++ b/target/linux/lantiq/dts/BTHOMEHUBV3A.dts
@@ -34,7 +34,7 @@
 	fpi at 10000000 {
 		localbus at 0 {
 			nand-parts at 0 {		  /* NAND Flash: Samsung K9F5608U0D-JIB0 32MB */
-				compatible = "gen_nand", "lantiq,nand-xway";
+				compatible = "lantiq,nand-xway";
 				lantiq,cs = <1>;
 				bank-width = <2>;
 				reg = <1 0x0 0x2000000 >;
diff --git a/target/linux/lantiq/dts/BTHOMEHUBV5A.dts b/target/linux/lantiq/dts/BTHOMEHUBV5A.dts
index a33690c..81c0511 100644
--- a/target/linux/lantiq/dts/BTHOMEHUBV5A.dts
+++ b/target/linux/lantiq/dts/BTHOMEHUBV5A.dts
@@ -27,7 +27,7 @@
 	fpi at 10000000 {
 		localbus at 0 {
 			nand-parts at 0 {
-				compatible = "gen_nand", "lantiq,nand-xway";
+				compatible = "lantiq,nand-xway";
 				lantiq,cs = <1>;
 				bank-width = <2>;
 				reg = <0x1 0x0 0x2000000>;
diff --git a/target/linux/lantiq/dts/EASY80920NAND.dts b/target/linux/lantiq/dts/EASY80920NAND.dts
index 332f2fb..cc5fc22 100644
--- a/target/linux/lantiq/dts/EASY80920NAND.dts
+++ b/target/linux/lantiq/dts/EASY80920NAND.dts
@@ -14,7 +14,7 @@
 		localbus at 0 {
 			ranges = <0 0 0x4000000 0x3ffffff>;
 			nand-parts at 0 {
-				compatible = "gen_nand", "lantiq,nand-xway";
+				compatible = "lantiq,nand-xway";
 				lantiq,cs = <1>;
 				bank-width = <2>;
 				reg = <0 0x0 0x2000000>;
diff --git a/target/linux/lantiq/dts/FRITZ3370.dts b/target/linux/lantiq/dts/FRITZ3370.dts
index 3f57f45..b4b98e7 100644
--- a/target/linux/lantiq/dts/FRITZ3370.dts
+++ b/target/linux/lantiq/dts/FRITZ3370.dts
@@ -28,7 +28,7 @@
 	fpi at 10000000 {
 		localbus at 0 {
 			nand-parts at 0 {
-				compatible = "gen_nand", "lantiq,nand-xway";
+				compatible = "lantiq,nand-xway";
 				bank-width = <2>;
 				reg = <1 0x0 0x2000000>;
 				#address-cells = <1>;
diff --git a/target/linux/lantiq/dts/P2812HNUF1.dts b/target/linux/lantiq/dts/P2812HNUF1.dts
index b1d9eed..176aae2 100644
--- a/target/linux/lantiq/dts/P2812HNUF1.dts
+++ b/target/linux/lantiq/dts/P2812HNUF1.dts
@@ -13,7 +13,7 @@
 	fpi at 10000000 {
 		localbus at 0 {
 			nand-parts at 0 {
-				compatible = "gen_nand", "lantiq,nand-xway";
+				compatible = "lantiq,nand-xway";
 				lantiq,cs = <1>;
 				bank-width = <2>;
 				reg = <0 0x0 0x2000000>;
diff --git a/target/linux/lantiq/dts/P2812HNUF3.dts b/target/linux/lantiq/dts/P2812HNUF3.dts
index 366d034..93d2071 100644
--- a/target/linux/lantiq/dts/P2812HNUF3.dts
+++ b/target/linux/lantiq/dts/P2812HNUF3.dts
@@ -36,7 +36,7 @@
 			};
 
 			nand-parts at 0 {
-				compatible = "gen_nand", "lantiq,nand-xway";
+				compatible = "lantiq,nand-xway";
 				lantiq,cs = <1>;
 				bank-width = <2>;
 				reg = <1 0x0 0x2000000>;



More information about the lede-commits mailing list