mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-10 23:24:38 +00:00
compulab: eeprom: add default eeprom address
Add default eeprom address setting. Signed-off-by: Igor Grinberg <grinberg@compulab.co.il>
This commit is contained in:
parent
02847fcc92
commit
d3f041c0c4
1 changed files with 5 additions and 0 deletions
|
@ -10,6 +10,11 @@
|
|||
#include <common.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 BOARD_SERIAL_OFFSET 20
|
||||
#define BOARD_SERIAL_OFFSET_LEGACY 8
|
||||
|
|
Loading…
Reference in a new issue