summaryrefslogtreecommitdiff
path: root/lib/string.c
diff options
context:
space:
mode:
authorQuentin Schulz <quentin.schulz@theobroma-systems.com>2022-07-22 11:30:14 +0200
committerKever Yang <kever.yang@rock-chips.com>2022-10-19 19:30:48 +0800
commitd774b2651a3b44fa2b821e1b412732aa6c4d2d45 (patch)
tree4dc1603a7146ab30e81ed3e80e7a5763c28c0092 /lib/string.c
parent3a61ee7fae0d3ea9d00b55290137ccce5036e647 (diff)
rockchip: rk3399: fix incorrect ifdef check on SPL_GPIO
The check to perform is on CONFIG_SPL_GPIO and not SPL_GPIO. Because this was never compiled in, it missed an include of cru.h that was not detected before. Let's include it too. Also switch to IS_ENABLED in-code check as it is the preferred inclusion/exclusion mechanism. 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: Kever Yang <kever.yang@rock-chips.com>
Diffstat (limited to 'lib/string.c')
0 files changed, 0 insertions, 0 deletions