This is Kconfig cleanup patch (not all configurations will use CFI, SPI, RAMFS and DEVFS).
* Enable CFI and SPI drivers menuconfig option to be able to disable them in menuconfig. * Introduce capability to disable ramfs and devfs.
This commit is contained in:
parent
d005435609
commit
b9655280e2
|
@ -29,7 +29,7 @@ config DRIVER_CFI_NEW
|
|||
breaks something.
|
||||
|
||||
config DRIVER_CFI_OLD
|
||||
bool
|
||||
bool "old cfi flash driver"
|
||||
default y
|
||||
depends on !DRIVER_CFI_NEW
|
||||
|
||||
|
|
|
@ -1,14 +1,16 @@
|
|||
menu "SPI drivers "
|
||||
|
||||
config SPI
|
||||
bool
|
||||
bool "Enable SPI driver support"
|
||||
default y
|
||||
|
||||
config DRIVER_SPI_IMX
|
||||
bool "i.MX SPI Master driver"
|
||||
depends on ARCH_IMX
|
||||
depends on SPI
|
||||
|
||||
config DRIVER_SPI_MC13783
|
||||
bool "MC13783 a.k.a. PMIC driver"
|
||||
depends on SPI
|
||||
|
||||
endmenu
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
obj-y += spi.o
|
||||
obj-$(CONFIG_SPI) += spi.o
|
||||
obj-$(CONFIG_DRIVER_SPI_IMX) += imx_spi.o
|
||||
|
||||
obj-$(CONFIG_DRIVER_SPI_MC13783) += mc13783.o
|
||||
|
|
10
fs/Kconfig
10
fs/Kconfig
|
@ -6,4 +6,14 @@ config FS_CRAMFS
|
|||
select ZLIB
|
||||
prompt "cramfs support"
|
||||
|
||||
config FS_RAMFS
|
||||
bool
|
||||
default y
|
||||
prompt "ramfs support"
|
||||
|
||||
config FS_DEVFS
|
||||
bool
|
||||
default y
|
||||
prompt "devfs support"
|
||||
|
||||
endmenu
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
obj-$(CONFIG_FS_CRAMFS) += cramfs/
|
||||
obj-$(CONFIG_FS_RAMFS) += ramfs.o
|
||||
obj-$(CONFIG_FS_DEVFS) += devfs.o
|
||||
obj-y += fs.o
|
||||
obj-y += ramfs.o
|
||||
obj-y += devfs.o
|
||||
|
|
Loading…
Reference in New Issue