mirror of
https://github.com/apache/nuttx.git
synced 2026-05-30 05:16:47 +08:00
Widen the name space: Rename CONFIG_SPI_EEPROM to CONFIG_EEPROM so that I2C EEPROMs can live there too
This commit is contained in:
+10
-11
@@ -207,19 +207,8 @@ menuconfig SPI
|
|||||||
|
|
||||||
if SPI
|
if SPI
|
||||||
source drivers/spi/Kconfig
|
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
|
||||||
|
|
||||||
endif # SPI
|
|
||||||
|
|
||||||
menuconfig I2S
|
menuconfig I2S
|
||||||
bool "I2S Driver Support"
|
bool "I2S Driver Support"
|
||||||
default n
|
default n
|
||||||
@@ -422,6 +411,16 @@ if MTD
|
|||||||
source drivers/mtd/Kconfig
|
source drivers/mtd/Kconfig
|
||||||
endif # MTD
|
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
|
menuconfig NETDEVICES
|
||||||
bool "Network Device/PHY Support"
|
bool "Network Device/PHY Support"
|
||||||
default n if !ARCH_HAVE_PHY
|
default n if !ARCH_HAVE_PHY
|
||||||
|
|||||||
+1
-1
@@ -52,11 +52,11 @@ VPATH = .
|
|||||||
include analog$(DELIM)Make.defs
|
include analog$(DELIM)Make.defs
|
||||||
include audio$(DELIM)Make.defs
|
include audio$(DELIM)Make.defs
|
||||||
include bch$(DELIM)Make.defs
|
include bch$(DELIM)Make.defs
|
||||||
include eeprom$(DELIM)Make.defs
|
|
||||||
include input$(DELIM)Make.defs
|
include input$(DELIM)Make.defs
|
||||||
include lcd$(DELIM)Make.defs
|
include lcd$(DELIM)Make.defs
|
||||||
include mmcsd$(DELIM)Make.defs
|
include mmcsd$(DELIM)Make.defs
|
||||||
include mtd$(DELIM)Make.defs
|
include mtd$(DELIM)Make.defs
|
||||||
|
include eeprom$(DELIM)Make.defs
|
||||||
include net$(DELIM)Make.defs
|
include net$(DELIM)Make.defs
|
||||||
include pipes$(DELIM)Make.defs
|
include pipes$(DELIM)Make.defs
|
||||||
include power$(DELIM)Make.defs
|
include power$(DELIM)Make.defs
|
||||||
|
|||||||
@@ -3,10 +3,11 @@
|
|||||||
# see misc/tools/kconfig-language.txt.
|
# see misc/tools/kconfig-language.txt.
|
||||||
#
|
#
|
||||||
|
|
||||||
|
if EEPROM
|
||||||
config SPI_EE_25XX
|
config SPI_EE_25XX
|
||||||
bool "Microchip 25xxNNN / Atmel AT25NNN EEPROM devices"
|
bool "Microchip 25xxNNN / Atmel AT25NNN EEPROM devices"
|
||||||
default n
|
default n
|
||||||
depends on SPI_EEPROM
|
depends on SPI
|
||||||
---help---
|
---help---
|
||||||
This selection enables support for the Microchip/Atmel SPI EEPROM
|
This selection enables support for the Microchip/Atmel SPI EEPROM
|
||||||
devices
|
devices
|
||||||
@@ -18,4 +19,5 @@ config EE25XX_SPIMODE
|
|||||||
default 0
|
default 0
|
||||||
depends on SPI_EE_25XX
|
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
|
# Include the Microchip/Atmel xx25xx driver
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user