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)
commitf7fbe547d99729cfa36238ba1629c26589834867
tree2294ead6e49555e2e3d1bf74ad975f0cf1a4ffe4
parent4ff9a8c33c5f2514ee6e66788259399b6626f6b5
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