Widen the name space: Rename CONFIG_SPI_EEPROM to CONFIG_EEPROM so that I2C EEPROMs can live there too
This commit is contained in:
parent
e3898a7911
commit
f2603866e0
|
@ -207,19 +207,8 @@ menuconfig SPI
|
|||
|
||||
if SPI
|
||||
source drivers/spi/Kconfig
|
||||
|
||||
menuconfig SPI_EEPROM
|
||||
bool "SPI EEPROM support"
|
||||
default n
|
||||
---help---
|
||||
This directory holds implementations of SPI EEPROM drivers
|
||||
|
||||
if SPI_EEPROM
|
||||
source drivers/eeprom/Kconfig
|
||||
endif
|
||||
|
||||
endif # SPI
|
||||
|
||||
menuconfig I2S
|
||||
bool "I2S Driver Support"
|
||||
default n
|
||||
|
@ -422,6 +411,16 @@ if MTD
|
|||
source drivers/mtd/Kconfig
|
||||
endif # MTD
|
||||
|
||||
menuconfig EEPROM
|
||||
bool "EEPROM support"
|
||||
default n
|
||||
---help---
|
||||
This directory holds implementations of EEPROM drivers.
|
||||
|
||||
if EEPROM
|
||||
source drivers/eeprom/Kconfig
|
||||
endif
|
||||
|
||||
menuconfig NETDEVICES
|
||||
bool "Network Device/PHY Support"
|
||||
default n if !ARCH_HAVE_PHY
|
||||
|
|
|
@ -52,11 +52,11 @@ VPATH = .
|
|||
include analog$(DELIM)Make.defs
|
||||
include audio$(DELIM)Make.defs
|
||||
include bch$(DELIM)Make.defs
|
||||
include eeprom$(DELIM)Make.defs
|
||||
include input$(DELIM)Make.defs
|
||||
include lcd$(DELIM)Make.defs
|
||||
include mmcsd$(DELIM)Make.defs
|
||||
include mtd$(DELIM)Make.defs
|
||||
include eeprom$(DELIM)Make.defs
|
||||
include net$(DELIM)Make.defs
|
||||
include pipes$(DELIM)Make.defs
|
||||
include power$(DELIM)Make.defs
|
||||
|
|
|
@ -3,10 +3,11 @@
|
|||
# see misc/tools/kconfig-language.txt.
|
||||
#
|
||||
|
||||
if EEPROM
|
||||
config SPI_EE_25XX
|
||||
bool "Microchip 25xxNNN / Atmel AT25NNN EEPROM devices"
|
||||
default n
|
||||
depends on SPI_EEPROM
|
||||
depends on SPI
|
||||
---help---
|
||||
This selection enables support for the Microchip/Atmel SPI EEPROM
|
||||
devices
|
||||
|
@ -18,4 +19,5 @@ config EE25XX_SPIMODE
|
|||
default 0
|
||||
depends on SPI_EE_25XX
|
||||
|
||||
endif
|
||||
endif # SPI_EE_25XX
|
||||
endif # EEPROM
|
||||
|
|
|
@ -33,9 +33,9 @@
|
|||
#
|
||||
############################################################################
|
||||
|
||||
# Include SPI EEPROM support
|
||||
# Include EEPROM support
|
||||
|
||||
ifeq ($(CONFIG_SPI_EEPROM),y)
|
||||
ifeq ($(CONFIG_EEPROM),y)
|
||||
|
||||
# Include the Microchip/Atmel xx25xx driver
|
||||
|
||||
|
|
Loading…
Reference in New Issue