u-boot/arch
Quentin Schulz e53856aaf4 rockchip: px30: fix possibly unused grf and cru variables
The grf and cru are only used when no UART base is provided by the user
(defaults to UART2) or for UART1, UART3 and UART5 to be used for the
debug UART. Therefore, let's surround those variable definitions with
the proper checks.

This wasn't an issue before support for UART0 was added, because all
cases were using cru and grf. UART0 only uses pmucru so there's a need
to not define those variables anymore.

Fixes: d0af506625 ("rockchip: px30: support debug uart on UART0")
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>
2023-01-16 18:01:11 +08:00
..
arc Convert CONFIG_STANDALONE_LOAD_ADDR to Kconfig 2022-12-22 10:31:48 -05:00
arm rockchip: px30: fix possibly unused grf and cru variables 2023-01-16 18:01:11 +08:00
m68k Convert CONFIG_STANDALONE_LOAD_ADDR to Kconfig 2022-12-22 10:31:48 -05:00
microblaze Convert CONFIG_STANDALONE_LOAD_ADDR to Kconfig 2022-12-22 10:31:48 -05:00
mips Convert CONFIG_STANDALONE_LOAD_ADDR to Kconfig 2022-12-22 10:31:48 -05:00
nios2 Convert CONFIG_STANDALONE_LOAD_ADDR to Kconfig 2022-12-22 10:31:48 -05:00
powerpc Merge branch 'next' 2023-01-09 11:30:08 -05:00
riscv Merge branch 'next' 2023-01-09 11:30:08 -05:00
sandbox global: Migrate CONFIG_MALLOC_F_ADDR to CFG 2022-12-23 10:14:51 -05:00
sh global: Migrate CONFIG_BOARDDIR to CFG 2022-12-23 10:07:03 -05:00
x86 global: Migrate CONFIG_X86_REFCODE_RUN_ADDR to CFG 2022-12-23 10:15:13 -05:00
xtensa global: Migrate CONFIG_MAX_MEM_MAPPED to CFG 2022-12-23 10:14:51 -05:00
.gitignore
Kconfig Kconfig: clean up skipping low-level initialization 2023-01-11 15:02:24 -05:00
Kconfig.nxp Kconfig: move NXP specific stuff into a sub-menu 2023-01-11 15:02:24 -05:00
u-boot-elf.lds