mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-08-17 23:48:52 +09:00
![Denis Zalevskiy](/assets/img/avatar_default.png)
Use standard configuration logic to define EEPROM constants. Names are based on VPD_EEPROM_ prefix because EEPROM_ is already used by i2c_eeprom driver. Signed-off-by: Denis Zalevskiy <denis.zalevskiy@ge.com> Signed-off-by: Fabien Lahoudere <fabien.lahoudere@collabora.com>
15 lines
382 B
Plaintext
15 lines
382 B
Plaintext
config SYS_VPD_EEPROM_I2C_ADDR
|
|
hex "I2C address of the EEPROM device used for VPD"
|
|
help
|
|
VPD = Vital Product Data
|
|
|
|
config SYS_VPD_EEPROM_I2C_BUS
|
|
int "I2C bus of the EEPROM device used for VPD."
|
|
|
|
config SYS_VPD_EEPROM_SIZE
|
|
int "Size in bytes of the EEPROM device used for VPD"
|
|
|
|
config SYS_VPD_EEPROM_I2C_ADDR_LEN
|
|
int "Number of bytes to use for VPD EEPROM address"
|
|
default 1
|