]> git.dujemihanovic.xyz Git - u-boot.git/commit
arm: mach-k3: Add weak do_board_detect() to common file
authorAndrew Davis <afd@ti.com>
Thu, 6 Apr 2023 16:38:17 +0000 (11:38 -0500)
committerTom Rini <trini@konsulko.com>
Mon, 24 Apr 2023 17:18:48 +0000 (13:18 -0400)
commite25fe5b2759c792e2088c40ad1798659960c47c6
tree85a4085f03f6ad6419bd9069445721e7579ff07b
parentf5e494460842d26d5b066519dc28b96de2918dab
arm: mach-k3: Add weak do_board_detect() to common file

This matches how it was done for pre-K3 TI platforms and it allows
us to move the forward declaration out of sys_proto.h.

It also removes the need for K3_BOARD_DETECT as one is free to simply
override the weak function in their board files as needed.

Signed-off-by: Andrew Davis <afd@ti.com>
Reviewed-by: Christian Gmeiner <christian.gmeiner@gmail.com>
arch/arm/mach-k3/Kconfig
arch/arm/mach-k3/am642_init.c
arch/arm/mach-k3/am654_init.c
arch/arm/mach-k3/common.c
arch/arm/mach-k3/common.h
arch/arm/mach-k3/include/mach/sys_proto.h
arch/arm/mach-k3/j721e_init.c
board/ti/common/Kconfig