summaryrefslogtreecommitdiff
path: root/board/ti/common
diff options
context:
space:
mode:
authorChristian Gmeiner <christian.gmeiner@gmail.com>2023-03-03 20:16:28 +0100
committerTom Rini <trini@konsulko.com>2023-03-29 13:30:28 -0400
commite44657ed744d1b4e216d8dda5d528ff0d0a6234e (patch)
tree753f34778ad565dce3b6c1026302e87aa12ad5cf /board/ti/common
parent54ff4eeb59dd7f1b4141cdfdc1126d85fb03751f (diff)
downloadu-boot-e44657ed744d1b4e216d8dda5d528ff0d0a6234e.tar.gz
u-boot-e44657ed744d1b4e216d8dda5d528ff0d0a6234e.tar.bz2
u-boot-e44657ed744d1b4e216d8dda5d528ff0d0a6234e.zip
arm: mach-k3: introduce generic board detction kconfig option
For non TI boards it is not possible to enable the do_board_detect() call as TI_I2C_BOARD_DETECT is defined in board/ti/common/Kconfig. I want to use do_board_detect() to dectect boards and properties based on some SPI communication with a FPGA. Signed-off-by: Christian Gmeiner <christian.gmeiner@gmail.com> Reviewed-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'board/ti/common')
-rw-r--r--board/ti/common/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/board/ti/common/Kconfig b/board/ti/common/Kconfig
index 49edd98014..f03357cc75 100644
--- a/board/ti/common/Kconfig
+++ b/board/ti/common/Kconfig
@@ -1,5 +1,6 @@
config TI_I2C_BOARD_DETECT
bool "Support for Board detection for TI platforms"
+ select K3_BOARD_DETECT if ARCH_K3
help
Support for detection board information on Texas Instrument's
Evaluation Boards which have I2C based EEPROM detection