9
0
Fork 0

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:
Menon, Nishanth 2008-05-12 15:59:48 +02:00 committed by Sascha Hauer
parent d005435609
commit b9655280e2
5 changed files with 17 additions and 5 deletions

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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