Skip to content
Snippets Groups Projects
Commit d3f041c0 authored by Igor Grinberg's avatar Igor Grinberg Committed by Tom Rini
Browse files

compulab: eeprom: add default eeprom address


Add default eeprom address setting.

Signed-off-by: default avatarIgor Grinberg <grinberg@compulab.co.il>
parent 02847fcc
No related branches found
No related tags found
No related merge requests found
...@@ -10,6 +10,11 @@ ...@@ -10,6 +10,11 @@
#include <common.h> #include <common.h>
#include <i2c.h> #include <i2c.h>
#ifndef CONFIG_SYS_I2C_EEPROM_ADDR
# define CONFIG_SYS_I2C_EEPROM_ADDR 0x50
# define CONFIG_SYS_I2C_EEPROM_ADDR_LEN 1
#endif
#define EEPROM_LAYOUT_VER_OFFSET 44 #define EEPROM_LAYOUT_VER_OFFSET 44
#define BOARD_SERIAL_OFFSET 20 #define BOARD_SERIAL_OFFSET 20
#define BOARD_SERIAL_OFFSET_LEGACY 8 #define BOARD_SERIAL_OFFSET_LEGACY 8
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment