Commit e51d565f authored by Wolfram Sang's avatar Wolfram Sang Committed by Jean Delvare

spi: Move at25 (for SPI eeproms) to /drivers/misc/eeprom

Signed-off-by: default avatarWolfram Sang <w.sang@pengutronix.de>
Signed-off-by: default avatarJean Delvare <khali@linux-fr.org>
parent 2e157888
...@@ -26,6 +26,17 @@ config AT24 ...@@ -26,6 +26,17 @@ config AT24
This driver can also be built as a module. If so, the module This driver can also be built as a module. If so, the module
will be called at24. will be called at24.
config SPI_AT25
tristate "SPI EEPROMs from most vendors"
depends on SPI && SYSFS
help
Enable this driver to get read/write support to most SPI EEPROMs,
after you configure the board init code to know about each eeprom
on your target board.
This driver can also be built as a module. If so, the module
will be called at25.
config SENSORS_EEPROM config SENSORS_EEPROM
tristate "Old I2C EEPROM reader" tristate "Old I2C EEPROM reader"
depends on I2C && EXPERIMENTAL depends on I2C && EXPERIMENTAL
......
obj-$(CONFIG_AT24) += at24.o obj-$(CONFIG_AT24) += at24.o
obj-$(CONFIG_SPI_AT25) += at25.o
obj-$(CONFIG_SENSORS_EEPROM) += eeprom.o obj-$(CONFIG_SENSORS_EEPROM) += eeprom.o
...@@ -230,17 +230,6 @@ config SPI_XILINX ...@@ -230,17 +230,6 @@ config SPI_XILINX
# #
comment "SPI Protocol Masters" comment "SPI Protocol Masters"
config SPI_AT25
tristate "SPI EEPROMs from most vendors"
depends on SYSFS
help
Enable this driver to get read/write support to most SPI EEPROMs,
after you configure the board init code to know about each eeprom
on your target board.
This driver can also be built as a module. If so, the module
will be called at25.
config SPI_SPIDEV config SPI_SPIDEV
tristate "User mode SPI device driver support" tristate "User mode SPI device driver support"
depends on EXPERIMENTAL depends on EXPERIMENTAL
......
...@@ -33,7 +33,6 @@ obj-$(CONFIG_SPI_SH_SCI) += spi_sh_sci.o ...@@ -33,7 +33,6 @@ obj-$(CONFIG_SPI_SH_SCI) += spi_sh_sci.o
# ... add above this line ... # ... add above this line ...
# SPI protocol drivers (device/link on bus) # SPI protocol drivers (device/link on bus)
obj-$(CONFIG_SPI_AT25) += at25.o
obj-$(CONFIG_SPI_SPIDEV) += spidev.o obj-$(CONFIG_SPI_SPIDEV) += spidev.o
obj-$(CONFIG_SPI_TLE62X0) += tle62x0.o obj-$(CONFIG_SPI_TLE62X0) += tle62x0.o
# ... add above this line ... # ... add above this line ...
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment