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
7
Merge Requests
7
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
53352e1f
Commit
53352e1f
authored
Jul 14, 2020
by
Peter Jansweijer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
eeprom one entry point, page size 32
parent
6cdb2a77
Pipeline
#308
failed with stages
in 9 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
storage.c
dev/storage.c
+4
-4
No files found.
dev/storage.c
View file @
53352e1f
...
...
@@ -107,9 +107,9 @@ const int32_t spi_flash_default_entry_points[] =
const
int32_t
i2c_eeprom_default_entry_points
[]
=
{
0x000000
,
/* eeprom base */
0x100
,
/* second page in eeprom */
0x200
,
/* IPMI with MultiRecord */
0x300
,
/* IPMI with larger MultiRecord */
//
0x100, /* second page in eeprom */
//
0x200, /* IPMI with MultiRecord */
//
0x300, /* IPMI with larger MultiRecord */
-
1
};
/* Functions for FRAM access */
...
...
@@ -211,7 +211,7 @@ void storage_i2c_eeprom_create(struct storage_device *dev, struct i2c_eeprom_dev
dev
->
rwops
=
&
i2c_eeprom_rwops
;
dev
->
size
=
8192
;
dev
->
cfg_entry
=
0
;
dev
->
block_size
=
1
;
dev
->
block_size
=
32
;
dev
->
entry_points
=
i2c_eeprom_default_entry_points
;
dev
->
flags
=
STORAGE_FLAG_DEVICE_OK
;
}
...
...
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