summaryrefslogtreecommitdiffstats
path: root/arch/arm
diff options
context:
space:
mode:
authorKory Maincent <kory.maincent@bootlin.com>2021-05-04 19:31:27 +0200
committerTom Rini <trini@konsulko.com>2021-05-13 13:09:09 -0400
commit6c2c7e9cb95e92cc792ade46a44fc3801dab2de5 (patch)
treeb904a66eab924e0adacedef241e0155eab08bdc4 /arch/arm
parentc9dffc971957e5fd18d64aa17a95e8d82a59d273 (diff)
downloadu-boot-6c2c7e9cb95e92cc792ade46a44fc3801dab2de5.tar.gz
u-boot-6c2c7e9cb95e92cc792ade46a44fc3801dab2de5.tar.xz
u-boot-6c2c7e9cb95e92cc792ade46a44fc3801dab2de5.zip
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')
-rw-r--r--arch/arm/mach-sunxi/Kconfig9
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