Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
S
Software for White Rabbit PTP Core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
31
Issues
31
List
Board
Labels
Milestones
Merge Requests
4
Merge Requests
4
CI / CD
CI / CD
Pipelines
Schedules
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
Software for White Rabbit PTP Core
Commits
a4cc22a4
Commit
a4cc22a4
authored
Jan 08, 2015
by
Grzegorz Daniluk
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Kconfig: rename CONFIG_SDB_EEPROM to CONFIG_SDB_STORAGE
parent
21653009
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
10 additions
and
10 deletions
+10
-10
Kconfig
Kconfig
+5
-5
gsi_defconfig
configs/gsi_defconfig
+1
-1
ppsi_defconfig
configs/ppsi_defconfig
+1
-1
ppsi_log_defconfig
configs/ppsi_log_defconfig
+1
-1
dev.mk
dev/dev.mk
+1
-1
sdb-storage.c
dev/sdb-storage.c
+1
-1
No files found.
Kconfig
View file @
a4cc22a4
...
...
@@ -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
configs/gsi_defconfig
View file @
a4cc22a4
...
...
@@ -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
configs/ppsi_defconfig
View file @
a4cc22a4
...
...
@@ -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
configs/ppsi_log_defconfig
View file @
a4cc22a4
...
...
@@ -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
dev/dev.mk
View file @
a4cc22a4
...
...
@@ -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
...
...
dev/sdb-storage.c
View file @
a4cc22a4
...
...
@@ -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
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment