]> git.baikalelectronics.ru Git - uboot.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)
commita4d69a1d6637ed2b9c1227b5734d80e6238e024a
treeb97610c04f1709561fe5454ae495295994d69b37
parent4e2341a133c9551eb829a3e3da55f81dbaf9f30d
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: 6be3832ed7fb ("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