]> git.baikalelectronics.ru Git - uboot.git/commit
arm: mach-k3: am6_init: Use CONFIG_TI_I2C_BOARD_DETECT
authorChristian Gmeiner <christian.gmeiner@gmail.com>
Tue, 15 Feb 2022 06:47:55 +0000 (07:47 +0100)
committerTom Rini <trini@konsulko.com>
Fri, 4 Mar 2022 20:20:06 +0000 (15:20 -0500)
commitf1b1a4c2bf68e6b412cb97f4a75efa81e4de3936
tree2294ead6e49555e2e3d1bf74ad975f0cf1a4ffe4
parent714ae4452ff1a227c002818b1c9cb68b5dccd174
arm: mach-k3: am6_init: Use CONFIG_TI_I2C_BOARD_DETECT

We only want to call do_board_detect() if CONFIG_TI_I2C_BOARD_DETECT
is set. Same as done for am64.

This makes it possible to add a custom am65 based board design to
U-Boot that does not use this board detection mechanism.

Signed-off-by: Christian Gmeiner <christian.gmeiner@gmail.com>
arch/arm/mach-k3/am6_init.c
board/ti/am65x/evm.c