diff options
author | Kory Maincent <kory.maincent@bootlin.com> | 2021-05-04 20:31:27 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2021-05-13 20:09:09 +0300 |
commit | 6c2c7e9cb95e92cc792ade46a44fc3801dab2de5 (patch) | |
tree | b904a66eab924e0adacedef241e0155eab08bdc4 /arch/arm/mach-sunxi | |
parent | c9dffc971957e5fd18d64aa17a95e8d82a59d273 (diff) | |
download | u-boot-6c2c7e9cb95e92cc792ade46a44fc3801dab2de5.tar.xz |
arm: sunxi: add support for DIP detection to CHIP board
Add the extension_board_scan specific function to scan the information
of the EEPROM on one-wire and fill the extension struct.
Add the Kconfig symbol to enable the needs to detect DIPs.
Signed-off-by: Kory Maincent <kory.maincent@bootlin.com>
Reviewed-by: Maxime Ripard <maxime@cerno.tech>
Acked-by: Andre Przywara <andre.przywara@arm.com>
Diffstat (limited to 'arch/arm/mach-sunxi')
-rw-r--r-- | arch/arm/mach-sunxi/Kconfig | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/arm/mach-sunxi/Kconfig b/arch/arm/mach-sunxi/Kconfig index 8e9012dbbf..bc8509b72a 100644 --- a/arch/arm/mach-sunxi/Kconfig +++ b/arch/arm/mach-sunxi/Kconfig @@ -1089,3 +1089,12 @@ config BLUETOOTH_DT_DEVICE_FIXUP flipped elsewise. endif + +config CHIP_DIP_SCAN + bool "Enable DIPs detection for CHIP board" + select SUPPORT_EXTENSION_SCAN + select W1 + select W1_GPIO + select W1_EEPROM + select W1_EEPROM_DS24XXX + select CMD_EXTENSION |