]> git.dujemihanovic.xyz Git - u-boot.git/commit
rockchip: transform rockchip_capsule_update_board_setup into a weak function symbol
authorQuentin Schulz <quentin.schulz@theobroma-systems.com>
Mon, 11 Mar 2024 12:01:53 +0000 (13:01 +0100)
committerKever Yang <kever.yang@rock-chips.com>
Wed, 13 Mar 2024 10:14:19 +0000 (18:14 +0800)
commit74029381ccba1a1bc85cd05a1d108f92ffdd3716
treeb73a9cf608175612ad75379706c1b335fede0d07
parent08d61f87051972d5159bb1ba9f8a6167be3da317
rockchip: transform rockchip_capsule_update_board_setup into a weak function symbol

There's only one user of rockchip_capsule_update_board_setup, which is
in board.c, and only one board defines it, so instead of having a header
only for one function symbol, let's just use a weak symbol instead.

Cc: Quentin Schulz <foss+uboot@0leil.net>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
Reviewed-by: Dragan Simic <dsimic@manjaro.org>
Reviewed-by: Peter Robinson <pbrobinson@gmail.com>
Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
arch/arm/include/asm/arch-rockchip/misc.h [deleted file]
arch/arm/mach-rockchip/board.c