diff options
author | Andrey Smirnov <andrew.smirnov@gmail.com> | 2018-06-18 22:45:49 -0700 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2018-06-21 13:42:10 +0200 |
commit | 5966868d82b1e9fcd5da0d141388312d811beb11 (patch) | |
tree | 77b144f92f50d10e8f61fde4bb77b8542edd288e /drivers/nvmem/Kconfig | |
parent | 43a56c8ad539f744a5508a0036ca3a96762ba208 (diff) | |
download | barebox-5966868d82b1e9fcd5da0d141388312d811beb11.tar.gz barebox-5966868d82b1e9fcd5da0d141388312d811beb11.tar.xz |
nvmem: Port RAVE SP EEPROM driver from Linux kernel
This is a minimal port of a kernel commit 3b51f47be171 ("nvmem: Add
RAVE SP EEPROM driver"). All of the changes were kept to a minimum and
limited to impedance matching between Barebox/Linux driver API.
Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'drivers/nvmem/Kconfig')
-rw-r--r-- | drivers/nvmem/Kconfig | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/nvmem/Kconfig b/drivers/nvmem/Kconfig index a3797b4aac..38b6f42419 100644 --- a/drivers/nvmem/Kconfig +++ b/drivers/nvmem/Kconfig @@ -36,4 +36,11 @@ config IMX_OCOTP_WRITE the value of the address by 4. mw -l -d /dev/imx-ocotp 0x8C 0x00001234 mw -l -d /dev/imx-ocotp 0x88 0x56789ABC + +config RAVE_SP_EEPROM + tristate "Rave SP EEPROM Support" + depends on RAVE_SP_CORE + help + Say y here to enable Rave SP EEPROM support. + endif |