summaryrefslogtreecommitdiff
path: root/board/sunxi
diff options
context:
space:
mode:
authorSimon Glass <[email protected]>2024-09-29 19:49:47 -0600
committerTom Rini <[email protected]>2024-10-11 11:44:48 -0600
commitdac3ce976a9b06be5aadbd857c4b64a8c521c6d4 (patch)
treec6990967a19a9ae6112711010086b246be590880 /board/sunxi
parentbef9fdbed2e525ce9264d2ae2fbcb37db7472052 (diff)
board: Use CONFIG_XPL_BUILD instead of CONFIG_SPL_BUILD
Use the new symbol to refer to any 'SPL' build, including TPL and VPL Signed-off-by: Simon Glass <[email protected]>
Diffstat (limited to 'board/sunxi')
-rw-r--r--board/sunxi/board.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/board/sunxi/board.c b/board/sunxi/board.c
index 961cdcde74d..824c322a0dc 100644
--- a/board/sunxi/board.c
+++ b/board/sunxi/board.c
@@ -281,7 +281,7 @@ int dram_init(void)
return 0;
}
-#if defined(CONFIG_NAND_SUNXI) && defined(CONFIG_SPL_BUILD)
+#if defined(CONFIG_NAND_SUNXI) && defined(CONFIG_XPL_BUILD)
static void nand_pinmux_setup(void)
{
unsigned int pin;
@@ -530,7 +530,7 @@ int mmc_get_env_dev(void)
#endif
#endif /* CONFIG_MMC */
-#ifdef CONFIG_SPL_BUILD
+#ifdef CONFIG_XPL_BUILD
static void sunxi_spl_store_dram_size(phys_addr_t dram_size)
{
@@ -641,7 +641,7 @@ void sunxi_board_init(void)
else
printf("Failed to set core voltage! Can't set CPU frequency\n");
}
-#endif /* CONFIG_SPL_BUILD */
+#endif /* CONFIG_XPL_BUILD */
#ifdef CONFIG_USB_GADGET
int g_dnl_board_usb_cable_connected(void)