ipq40xx: Use upstream SPI-NAND driver instead of MT29F

Since 4.19 upstream kernel provides generic SPI-NAND
framework and vendor specific drivers.
Since only users of MT29F are 2 boards with Winbond
W25N01GV SPI-NAND for which support has been backported
from 4.20 we can drop the ever stuck in staging MT29F
driver and instead use the upstream driver.

Signed-off-by: Robert Marko <robimarko@gmail.com>
Signed-off-by: Christian Lamparter <chunkeey@gmail.com> [squashed]
This commit is contained in:
Robert Marko 2018-12-16 23:10:06 +01:00 committed by Christian Lamparter
parent 13321fa142
commit c29c8838a1
3 changed files with 6 additions and 6 deletions

View File

@ -305,10 +305,10 @@ CONFIG_MODULES_USE_ELF_REL=y
CONFIG_MTD_CMDLINE_PARTS=y CONFIG_MTD_CMDLINE_PARTS=y
CONFIG_MTD_M25P80=y CONFIG_MTD_M25P80=y
CONFIG_MTD_NAND=y CONFIG_MTD_NAND=y
CONFIG_MTD_NAND_CORE=y
CONFIG_MTD_NAND_ECC=y CONFIG_MTD_NAND_ECC=y
CONFIG_MTD_NAND_QCOM=y CONFIG_MTD_NAND_QCOM=y
CONFIG_MTD_SPINAND_MT29F=y CONFIG_MTD_SPI_NAND=y
CONFIG_MTD_SPINAND_ONDIEECC=y
CONFIG_MTD_SPI_NOR=y CONFIG_MTD_SPI_NOR=y
CONFIG_MTD_SPLIT_FIRMWARE=y CONFIG_MTD_SPLIT_FIRMWARE=y
CONFIG_MTD_SPLIT_FIT_FW=y CONFIG_MTD_SPLIT_FIT_FW=y

View File

@ -199,11 +199,11 @@
}; };
}; };
mt29f@1 { spi-nand@1 {
status = "okay"; status = "okay";
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
compatible = "spinand,mt29f", "w25n01gv"; compatible = "spi-nand";
reg = <1>; reg = <1>;
spi-max-frequency = <24000000>; spi-max-frequency = <24000000>;
partitions { partitions {

View File

@ -248,10 +248,10 @@
}; };
}; };
flash@1 { spi-nand@1 {
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
compatible = "spinand,mt29f"; compatible = "spi-nand";
reg = <1>; reg = <1>;
spi-max-frequency = <24000000>; spi-max-frequency = <24000000>;