]> git.dujemihanovic.xyz Git - u-boot.git/commit
rockchip: rk3399: fix incorrect ifdef check on SPL_DM_REGULATOR
authorQuentin Schulz <quentin.schulz@theobroma-systems.com>
Fri, 22 Jul 2022 09:30:13 +0000 (11:30 +0200)
committerKever Yang <kever.yang@rock-chips.com>
Wed, 19 Oct 2022 11:30:48 +0000 (19:30 +0800)
commit3a61ee7fae0d3ea9d00b55290137ccce5036e647
treeb97610c04f1709561fe5454ae495295994d69b37
parent2cb23b80e4169e121c520ff33cb6a60e0a0ded21
rockchip: rk3399: fix incorrect ifdef check on SPL_DM_REGULATOR

The check to perform is on CONFIG_SPL_DM_REGULATOR and not
SPL_DM_REGULATOR. Also switch to in-code check instead of ifdefs.

Fixes: 07586ee4322a ("rockchip: rk3399: Support common spl_board_init")
Cc: Quentin Schulz <foss+uboot@0leil.net>
Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
Reviewed-by: Jagan Teki <jagan@amarulasolutions.com>
Reviewed-by: Peter Robinson <pbrobinson@gmail.com>
Tested-by: Peter Robinson <pbrobinson@gmail.com> # Rock960
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
arch/arm/mach-rockchip/rk3399/rk3399.c