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
32
Issues
32
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
91c69299
Commit
91c69299
authored
Nov 28, 2017
by
Grzegorz Daniluk
Committed by
Adam Wujek
Nov 29, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixes for sw compilation with sdbfs creation disabled in Kconfig
parent
ca6ac8a3
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
6 deletions
+5
-6
sdb-storage.c
dev/sdb-storage.c
+2
-2
storage.h
include/storage.h
+3
-4
No files found.
dev/sdb-storage.c
View file @
91c69299
...
...
@@ -743,8 +743,6 @@ out:
return
ret
;
}
#ifdef CONFIG_GENSDBFS
int
storage_read_hdl_cfg
(
void
)
{
get_storage_info
(
&
storage_cfg
.
memtype
,
&
storage_cfg
.
baseadr
,
&
storage_cfg
.
blocksize
);
...
...
@@ -758,6 +756,8 @@ int storage_read_hdl_cfg(void)
return
0
;
}
#ifdef CONFIG_GENSDBFS
extern
uint32_t
_binary_tools_sdbfs_default_bin_start
[];
extern
uint32_t
_binary_tools_sdbfs_default_bin_end
[];
...
...
include/storage.h
View file @
91c69299
...
...
@@ -72,8 +72,6 @@ int storage_init_add(const char *args[]);
int
storage_init_show
(
void
);
int
storage_init_readcmd
(
uint8_t
*
buf
,
uint8_t
bufsize
,
uint8_t
next
);
#ifdef CONFIG_GENSDBFS
struct
storage_config
{
int
memtype
;
int
valid
;
...
...
@@ -83,15 +81,16 @@ struct storage_config{
extern
struct
storage_config
storage_cfg
;
#define MEM_FLASH 0
#define MEM_EEPROM 1
#define MEM_1W_EEPROM 2
#define SDBFS_REC 5
int
storage_read_hdl_cfg
(
void
);
#ifdef CONFIG_GENSDBFS
int
storage_sdbfs_erase
(
int
mem_type
,
uint32_t
base_adr
,
uint32_t
blocksize
,
uint8_t
i2c_adr
);
int
storage_gensdbfs
(
int
mem_type
,
uint32_t
base_adr
,
uint32_t
blocksize
,
uint8_t
i2c_adr
);
#endif
#endif
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