u-boot/arch/arm/mach-rockchip/rk3399
Quentin Schulz d774b2651a 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: 07586ee432 ("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>
2022-10-19 19:30:48 +08:00
..
clk_rk3399.c dm: Rename DM_GET_DRIVER() to DM_DRIVER_GET() 2021-01-05 12:26:35 -07:00
Kconfig Convert CONFIG_SPL_PAD_TO et al to Kconfig 2022-06-06 12:09:06 -04:00
Makefile rockchip: rk3399: move sdram driver to driver/ram 2017-10-01 00:33:31 +02:00
rk3399.c rockchip: rk3399: fix incorrect ifdef check on SPL_GPIO 2022-10-19 19:30:48 +08:00
syscon_rk3399.c treewide: Use OF_REAL instead of !OF_PLATDATA 2021-09-25 09:46:15 -06:00