diff options
author | Oskari Lemmela <oskari@lemmela.net> | 2019-01-14 19:54:22 +0200 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2019-01-26 23:11:49 +0100 |
commit | 72102b11b819c2b76237376f0688a8bd068afba9 (patch) | |
tree | c8028c5affaba53ad53205d1db82149472bd2aa2 | |
parent | 7f06db06f201bf142e983192d93032ccbc506c43 (diff) | |
download | upstream-72102b11b819c2b76237376f0688a8bd068afba9.tar.gz upstream-72102b11b819c2b76237376f0688a8bd068afba9.tar.bz2 upstream-72102b11b819c2b76237376f0688a8bd068afba9.zip |
sunxi: add spi flash support to kernel
Some of sunxi devices have onboard SPI flash.
Enable SPI NOR support and MTD fit split in kernel config.
Signed-off-by: Oskari Lemmela <oskari@lemmela.net>
-rw-r--r-- | target/linux/sunxi/config-4.14 | 9 | ||||
-rw-r--r-- | target/linux/sunxi/config-4.19 | 9 |
2 files changed, 16 insertions, 2 deletions
diff --git a/target/linux/sunxi/config-4.14 b/target/linux/sunxi/config-4.14 index c13b1452ee..d7d9f60a6d 100644 --- a/target/linux/sunxi/config-4.14 +++ b/target/linux/sunxi/config-4.14 @@ -363,7 +363,14 @@ CONFIG_MMC_SUNXI=y CONFIG_MMU_NOTIFIER=y CONFIG_MODULES_TREE_LOOKUP=y CONFIG_MODULES_USE_ELF_REL=y -# CONFIG_MTD is not set +CONFIG_MTD=y +CONFIG_MTD_SPLIT_SUPPORT=y +CONFIG_MTD_SPLIT_FIT_FW=y +CONFIG_MTD_OF_PARTS=y +CONFIG_MTD_JEDECPROBE=y +# CONFIG_MTD_IMPA7 is not set +CONFIG_MTD_M25P80=y +CONFIG_MTD_SPI_NOR=y CONFIG_MULTI_IRQ_HANDLER=y CONFIG_MUTEX_SPIN_ON_OWNER=y CONFIG_NEED_DMA_MAP_STATE=y diff --git a/target/linux/sunxi/config-4.19 b/target/linux/sunxi/config-4.19 index 042b2e8986..7ae1c9f71e 100644 --- a/target/linux/sunxi/config-4.19 +++ b/target/linux/sunxi/config-4.19 @@ -371,7 +371,14 @@ CONFIG_MMC_SUNXI=y CONFIG_MMU_NOTIFIER=y CONFIG_MODULES_TREE_LOOKUP=y CONFIG_MODULES_USE_ELF_REL=y -# CONFIG_MTD is not set +CONFIG_MTD=y +CONFIG_MTD_SPLIT_SUPPORT=y +CONFIG_MTD_SPLIT_FIT_FW=y +CONFIG_MTD_OF_PARTS=y +CONFIG_MTD_JEDECPROBE=y +# CONFIG_MTD_IMPA7 is not set +CONFIG_MTD_M25P80=y +CONFIG_MTD_SPI_NOR=y CONFIG_MUTEX_SPIN_ON_OWNER=y CONFIG_NEED_DMA_MAP_STATE=y CONFIG_NEON=y |