summaryrefslogtreecommitdiff
path: root/board/ge/common/Kconfig
diff options
context:
space:
mode:
authorDenis Zalevskiy <denis.zalevskiy@ge.com>2018-10-17 10:33:27 +0200
committerStefano Babic <sbabic@denx.de>2018-12-17 10:46:04 +0100
commit4c552083503f49f37412972a3b4ea895cffd948e (patch)
treed080bc2225f515675768c31882f1e5ec5bfd9718 /board/ge/common/Kconfig
parent33a6c8d4e605311d59e45bc2a42fdc02d37254dd (diff)
board: ge: Move VPD EEPROM configuration to the defconfig
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>
Diffstat (limited to 'board/ge/common/Kconfig')
-rw-r--r--board/ge/common/Kconfig14
1 files changed, 14 insertions, 0 deletions
diff --git a/board/ge/common/Kconfig b/board/ge/common/Kconfig
new file mode 100644
index 0000000000..637b264954
--- /dev/null
+++ b/board/ge/common/Kconfig
@@ -0,0 +1,14 @@
+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