]> git.dujemihanovic.xyz Git - u-boot.git/commit
rockchip: board: Move gpt_capsule_update_setup() call
authorJonas Karlman <jonas@kwiboo.se>
Tue, 12 Mar 2024 23:36:22 +0000 (23:36 +0000)
committerKever Yang <kever.yang@rock-chips.com>
Thu, 14 Mar 2024 10:19:28 +0000 (18:19 +0800)
commitac58c6f3aa6b5ba6b0c2e226f6349b3480dfdc9e
treebfd8d129a4af74363eac47c151b75b92063e47cb
parent3330c8880c6c5c7292121d71534af31e36ca3345
rockchip: board: Move gpt_capsule_update_setup() call

Move the call to gpt_capsule_update_setup() from the weak function
rk_board_late_init() into the main board_late_init() function.

Also change to use IS_ENABLED() instead for defined().

Signed-off-by: Jonas Karlman <jonas@kwiboo.se>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
arch/arm/mach-rockchip/board.c