]> git.dujemihanovic.xyz Git - u-boot.git/commit
board: rk3399: Drop explicit uart enablement in spl_board_init
authorJagan Teki <jagan@amarulasolutions.com>
Thu, 20 Jun 2019 18:54:59 +0000 (00:24 +0530)
committerKever Yang <kever.yang@rock-chips.com>
Wed, 26 Jun 2019 13:11:27 +0000 (21:11 +0800)
commit9f5a9f9ad3f96bd252b0d011ee4b6e89358ca494
tree10b26c4485bc6212f818e6d306f28cd8755f4b29
parent1c281dc2baf1615baae91783801665bfa70fb767
board: rk3399: Drop explicit uart enablement in spl_board_init

preloader_console_init is used for printing SPL boot banner that
usually called from spl_board_init.

The current spl_board_init in evb and rock960 is enabling explicit
pinctrl, debug uart prior to calling preloader_console_init which
eventually not required since board_init_f is already enabled
debug uart.

So, drop those explicit enablement calls from  spl_board_init of
evb, rock960.

Tested this by enabling CONFIG_SPL_BOARD_INIT and adding
u-boot,dm-pre-reloc property for uart node.

Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
board/rockchip/evb_rk3399/evb-rk3399.c
board/vamrs/rock960_rk3399/rock960-rk3399.c