u-boot/arch/arm/mach-rockchip
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
..
px30 Convert CONFIG_SPL_PAD_TO et al to Kconfig 2022-06-06 12:09:06 -04:00
rk322x Convert CONFIG_SPL_PAD_TO et al to Kconfig 2022-06-06 12:09:06 -04:00
rk3036 rockchip: move ROCKCHIP_STIMER_BASE to Kconfig 2022-04-18 11:25:12 +08:00
rk3066 rockchip: rk3066: add Rikomagic MK808 board 2022-04-18 11:25:13 +08:00
rk3128 rockchip: move ROCKCHIP_STIMER_BASE to Kconfig 2022-04-18 11:25:12 +08:00
rk3188 rockchip: fix boot_devices constants 2022-04-18 11:25:13 +08:00
rk3288 rockchip: phycore_rk3288: remove phycore_init() function 2022-10-19 19:30:48 +08:00
rk3308 rockchip: rk3308: fix same-as-spl boot order 2022-09-04 20:00:38 +08:00
rk3328 Convert CONFIG_SPL_PAD_TO et al to Kconfig 2022-06-06 12:09:06 -04:00
rk3368 spl: Move SPL_LDSCRIPT defaults to one place 2022-06-28 17:03:31 -04:00
rk3399 rockchip: rk3399: fix incorrect ifdef check on SPL_GPIO 2022-10-19 19:30:48 +08:00
rk3568 rockchip: move ROCKCHIP_STIMER_BASE to Kconfig 2022-04-18 11:25:12 +08:00
rv1108 dm: Rename DM_GET_DRIVER() to DM_DRIVER_GET() 2021-01-05 12:26:35 -07:00
board.c rockchip: board: change condition board_usb_init() in function 2022-06-29 11:28:16 +08:00
boot_mode.c rockchip: boot_mode: fix fastboot command 2021-12-24 15:17:51 +08:00
bootrom.c common: Drop net.h from common header 2020-05-18 17:33:31 -04:00
cpu-info.c rockchip: Separate the reset cause from display cpuinfo 2020-07-22 20:55:13 +08:00
Kconfig rockchip: allow to build SPI images even without HAS_ROM option 2022-09-04 20:00:39 +08:00
make_fit_atf.py mach-rockchip: make_fit_atf.py: support OP-TEE tee.bin v1 format 2022-06-29 11:32:35 +08:00
Makefile rockchip: rk3066: add core support 2022-04-18 11:25:13 +08:00
misc.c dm: Rename DM_GET_DRIVER() to DM_DRIVER_GET() 2021-01-05 12:26:35 -07:00
px30-board-tpl.c Remove #include <version.h> from files which do not need it 2021-09-17 12:10:44 -04:00
rk3036-board-spl.c arm: set cntfrq_el0 if CONFIG_COUNTER_FREQUENCY is valid 2022-04-21 15:27:18 -04:00
sdram.c board_f: Fix types for board_get_usable_ram_top() 2022-09-23 15:12:42 -04:00
spl-boot-order.c common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
spl.c arm: set cntfrq_el0 if CONFIG_COUNTER_FREQUENCY is valid 2022-04-21 15:27:18 -04:00
tpl.c arm: set cntfrq_el0 if CONFIG_COUNTER_FREQUENCY is valid 2022-04-21 15:27:18 -04:00
u-boot-tpl-v8.lds linker_lists: Rename sections to remove . prefix 2022-06-23 12:58:18 -04:00
u-boot-tpl.lds rockchip: rk322x: add tpl support 2019-05-08 17:34:12 +08:00