@@ -41,4 +41,6 @@ source "drivers/mtd/nand/Kconfig"
source "drivers/mtd/spi/Kconfig"
+source "drivers/mtd/spi-nor/Kconfig"
+
source "drivers/mtd/ubi/Kconfig"
new file mode 100644
@@ -0,0 +1,14 @@
+menuconfig MTD_SPI_NOR
+ tristate "SPI-NOR device support"
+ depends on MTD
+ help
+ This is the core SPI NOR framework which can be used to interact SPI-NOR
+ to SPI driver interface layer and the SPI-NOR controller driver.
+
+ Unlike normal/generic spi controllers, they are few controllers which are
+ exclusively used to connect SPI-NOR devices, called SPI-NOR controllers.
+ So technically these controllers shouldn't reside at drivers/spi as these
+ may effect the generic SPI bus functionalities, so this SPI-NOR core acts
+ as a common core framework between the generic SPI controller drivers vs
+ SPI-NOR controller drivers for SPI-NOR device access. Note that from SPI-NOR
+ core to SPI drivers there should be an interface layer.
Added CONFIG_MTD_SPI_NOR kconfig entry Signed-off-by: Jagan Teki <jagan@openedev.com> --- drivers/mtd/Kconfig | 2 ++ drivers/mtd/spi-nor/Kconfig | 14 ++++++++++++++ 2 files changed, 16 insertions(+) create mode 100644 drivers/mtd/spi-nor/Kconfig