diff options
author | Koen Vandeputte <koen.vandeputte@ncentric.com> | 2020-04-16 12:21:52 +0200 |
---|---|---|
committer | Koen Vandeputte <koen.vandeputte@ncentric.com> | 2020-04-16 13:23:11 +0200 |
commit | 20efd5614aca7c50bf57cd858138437b0f8a717a (patch) | |
tree | eb6672f0b7cba7208a7e83440515a2b2614c2c67 /target | |
parent | 3c3825436e0e4107acd6ef722732a6444a1f7e0b (diff) | |
download | upstream-20efd5614aca7c50bf57cd858138437b0f8a717a.tar.gz upstream-20efd5614aca7c50bf57cd858138437b0f8a717a.tar.bz2 upstream-20efd5614aca7c50bf57cd858138437b0f8a717a.zip |
ath79: MikroTik: fix missing nand on kernel 5.4
Following symbol got renamed upstream:
CONFIG_MTD_NAND --> CONFIG_MTD_RAW_NAND
Also add this renamed symbol so NAND also works on kernel 5.4.
After:
[ 0.628372] nand: device found, Manufacturer ID: 0xec, Chip ID: 0xf1
[ 0.634862] nand: Samsung NAND 128MiB 3,3V 8-bit
[ 0.639554] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[ 0.647263] Scanning device for bad blocks
[ 0.656228] random: fast init done
[ 0.789652] 3 fixed-partitions partitions found on MTD device ar934x-nand
[ 0.796550] Creating 3 MTD partitions on "ar934x-nand":
[ 0.801874] 0x000000000000-0x000000040000 : "booter"
[ 0.807715] 0x000000040000-0x000000400000 : "kernel"
[ 0.813551] 0x000000400000-0x000008000000 : "ubi"
Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
Diffstat (limited to 'target')
-rw-r--r-- | target/linux/ath79/mikrotik/config-default | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/target/linux/ath79/mikrotik/config-default b/target/linux/ath79/mikrotik/config-default index a95d13406a..c0c61985bc 100644 --- a/target/linux/ath79/mikrotik/config-default +++ b/target/linux/ath79/mikrotik/config-default @@ -10,6 +10,7 @@ CONFIG_MTD_NAND=y CONFIG_MTD_NAND_AR934X=y CONFIG_MTD_NAND_CORE=y CONFIG_MTD_NAND_ECC=y +CONFIG_MTD_RAW_NAND=y CONFIG_MTD_SPI_NAND=y CONFIG_MTD_SPI_NOR_USE_4K_SECTORS=y CONFIG_MTD_SPLIT_MINOR_FW=y |