diff options
author | Tom Rini <trini@konsulko.com> | 2022-08-10 10:29:27 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2022-09-01 17:18:42 -0400 |
commit | adf13bcc403dbd0cb645fe1080d8812d9de5f01f (patch) | |
tree | ff26407b3be8d1ad57c5f470fd2b71615ffe2199 /common | |
parent | f9316dbe5c179eb48a369e1ba9797534c017d02b (diff) |
Convert CONFIG_SYS_I2C_EEPROM_CCID et al to Kconfig
This converts the following to Kconfig:
CONFIG_SYS_I2C_EEPROM_CCID
CONFIG_SYS_I2C_EEPROM_NXID
CONFIG_SYS_EEPROM_BUS_NUM
Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'common')
-rw-r--r-- | common/Kconfig | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/common/Kconfig b/common/Kconfig index e7914ca750a..2c3f7f4274d 100644 --- a/common/Kconfig +++ b/common/Kconfig @@ -671,6 +671,27 @@ config ID_EEPROM A number of different systems and vendors enable a vendor-specified EEPROM that contains various identifying features. +config SYS_EEPROM_BUS_NUM + int "I2C bus number of the system identifier EEPROM" + depends on ID_EEPROM + default 0 + +choice + prompt "EEPROM starts with 'CCID' or 'NXID'" + depends on ID_EEPROM && (PPC || ARCH_LS1021A || FSL_LAYERSCAPE) + default SYS_I2C_EEPROM_NXID + help + Specify if the Freescale / NXP ID EEPROM starts with 'CCID' or 'NXID' + ASCII literal string. + +config SYS_I2C_EEPROM_CCID + bool "EEPROM starts with 'CCID'" + +config SYS_I2C_EEPROM_NXID + bool "EEPROM starts with 'NXID'" + +endchoice + config PCI_INIT_R bool "Enumerate PCI buses during init" depends on PCI |