[PATCH 3/3] Revert "rockchip: rk3399: Fix TPL build of bob and kevin"
Kever Yang
kever.yang at rock-chips.com
Wed Feb 19 15:53:47 CET 2025
On 2025/2/9 06:49, Jonas Karlman wrote:
> These power rails must be on very early for the U-Boos TPL banner to be
> show over debug UART.
>
> This reverts commit 4576e65a5d6b10fd207c3a44061676ce0220d794.
>
> Signed-off-by: Jonas Karlman <jonas at kwiboo.se>
Reviewed-by: Kever Yang <kever.yang at rock-chips.com>
Thanks,
- Kever
> ---
> arch/arm/mach-rockchip/rk3399/rk3399.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arch/arm/mach-rockchip/rk3399/rk3399.c b/arch/arm/mach-rockchip/rk3399/rk3399.c
> index ba89079b1e73..0c28241c603e 100644
> --- a/arch/arm/mach-rockchip/rk3399/rk3399.c
> +++ b/arch/arm/mach-rockchip/rk3399/rk3399.c
> @@ -136,7 +136,7 @@ void board_debug_uart_init(void)
> struct rk3399_pmugrf_regs * const pmugrf = (void *)PMUGRF_BASE;
> struct rockchip_gpio_regs * const gpio = (void *)GPIO0_BASE;
>
> - if (IS_ENABLED(CONFIG_SPL_BUILD) &&
> + if (IS_ENABLED(CONFIG_XPL_BUILD) &&
> (IS_ENABLED(CONFIG_TARGET_CHROMEBOOK_BOB) ||
> IS_ENABLED(CONFIG_TARGET_CHROMEBOOK_KEVIN))) {
> rk_setreg(&grf->io_vsel, 1 << 0);
More information about the U-Boot
mailing list