]> git.dujemihanovic.xyz Git - u-boot.git/commit
board: rockchip: rk3399: Remove unused board_early_init_f functions
authorJonas Karlman <jonas@kwiboo.se>
Tue, 12 Mar 2024 23:36:13 +0000 (23:36 +0000)
committerKever Yang <kever.yang@rock-chips.com>
Thu, 14 Mar 2024 10:19:27 +0000 (18:19 +0800)
commit4b6e00454fe37a3ec3304ad88396bbb28066f44c
treedecb98f1292883478e8a807f1785587371a3b7b8
parent053c8139261f1814be8cff7ff3a6ca1a12a069cd
board: rockchip: rk3399: Remove unused board_early_init_f functions

These functions is excluded from SPL build and BOARD_EARLY_INIT_F is not
enabled for any of the affected boards, so this legacy code is not used.

Rockchip common board code already enable all regulators flagged as
always-on or boot-on in device tree, and fixed/gpio regulators now have
basic reference counting support so the original intent of this code is
no longer valid.

Remove the unneeded and unused code that used to enable usb regulators.

Signed-off-by: Jonas Karlman <jonas@kwiboo.se>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
board/firefly/roc-pc-rk3399/roc-pc-rk3399.c
board/pine64/pinebook-pro-rk3399/pinebook-pro-rk3399.c
board/pine64/pinephone-pro-rk3399/pinephone-pro-rk3399.c
board/rockchip/evb_rk3399/evb-rk3399.c