Commit a4cc22a4 authored by Grzegorz Daniluk's avatar Grzegorz Daniluk

Kconfig: rename CONFIG_SDB_EEPROM to CONFIG_SDB_STORAGE

parent 21653009
......@@ -203,16 +203,16 @@ config UART_SW
are routed to the software uart. The interactive wrpc shell
and diagnostics run on the hardware UART if available.
config SDB_EEPROM
config SDB_STORAGE
default y
boolean "Use SDB to manage EEPROM (instead of legacy code)"
boolean "Use SDB to manage storage (instead of legacy eeprom code)"
help
Use SDB to manage eeproms, both W1 and I2C. If not, legacy code
will be selected.
Use SDB to manage flash and eeproms (both W1 and I2C). If not, legacy code
(eeprom only) will be selected.
config LEGACY_EEPROM
boolean
default !SDB_EEPROM
default !SDB_STORAGE
endif
# CONFIG_WR_NODE
......@@ -25,5 +25,5 @@ CONFIG_DEVELOPER=y
# CONFIG_PTP_NOPOSIX is not set
# CONFIG_DETERMINISTIC_BINARY is not set
# CONFIG_UART_SW is not set
CONFIG_SDB_EEPROM=y
CONFIG_SDB_STORAGE=y
# CONFIG_LEGACY_EEPROM is not set
......@@ -23,5 +23,5 @@ CONFIG_DEVELOPER=y
# CONFIG_PTP_NOPOSIX is not set
# CONFIG_DETERMINISTIC_BINARY is not set
# CONFIG_UART_SW is not set
# CONFIG_SDB_EEPROM is not set
# CONFIG_SDB_STORAGE is not set
CONFIG_LEGACY_EEPROM=y
......@@ -23,5 +23,5 @@ CONFIG_DEVELOPER=y
# CONFIG_PTP_NOPOSIX is not set
# CONFIG_DETERMINISTIC_BINARY is not set
CONFIG_UART_SW=y
# CONFIG_SDB_EEPROM is not set
# CONFIG_SDB_STORAGE is not set
CONFIG_LEGACY_EEPROM=y
......@@ -13,7 +13,7 @@ obj-$(CONFIG_WR_NODE) += \
obj-$(CONFIG_WR_SWITCH) += dev/timer-wrs.o dev/ad9516.o
obj-$(CONFIG_LEGACY_EEPROM) += dev/eeprom.o
obj-$(CONFIG_SDB_EEPROM) += dev/sdb-storage.o
obj-$(CONFIG_SDB_STORAGE) += dev/sdb-storage.o
obj-$(CONFIG_W1) += dev/w1.o dev/w1-hw.o dev/w1-shell.o
obj-$(CONFIG_W1) += dev/w1-temp.o dev/w1-eeprom.o
......
......@@ -287,7 +287,7 @@ found_exit:
/*
* Reading/writing the MAC address used to be part of dev/onewire.c,
* but is not onewire-specific. What is w1-specific is the default
* setting if no sdbfs is there, but CONFIG_SDB_EEPROM depends on
* setting if no sdbfs is there, but CONFIG_SDB_STORAGE depends on
* CONFIG_W1 anyways.
*/
int get_persistent_mac(uint8_t portnum, uint8_t * mac)
......
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