diff options
author | Quentin Schulz <quentin.schulz@theobroma-systems.com> | 2022-07-22 11:30:13 +0200 |
---|---|---|
committer | Kever Yang <kever.yang@rock-chips.com> | 2022-10-19 19:30:48 +0800 |
commit | 3a61ee7fae0d3ea9d00b55290137ccce5036e647 (patch) | |
tree | b97610c04f1709561fe5454ae495295994d69b37 /lib/string.c | |
parent | 2cb23b80e4169e121c520ff33cb6a60e0a0ded21 (diff) |
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>
Diffstat (limited to 'lib/string.c')
0 files changed, 0 insertions, 0 deletions