diff options
author | Simon Glass <sjg@chromium.org> | 2024-09-29 19:49:47 -0600 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2024-10-11 11:44:48 -0600 |
commit | dac3ce976a9b06be5aadbd857c4b64a8c521c6d4 (patch) | |
tree | c6990967a19a9ae6112711010086b246be590880 /board/freescale/ls1046ardb/ddr.c | |
parent | bef9fdbed2e525ce9264d2ae2fbcb37db7472052 (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 <sjg@chromium.org>
Diffstat (limited to 'board/freescale/ls1046ardb/ddr.c')
-rw-r--r-- | board/freescale/ls1046ardb/ddr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/board/freescale/ls1046ardb/ddr.c b/board/freescale/ls1046ardb/ddr.c index 68353022e7d..4170666c420 100644 --- a/board/freescale/ls1046ardb/ddr.c +++ b/board/freescale/ls1046ardb/ddr.c @@ -113,7 +113,7 @@ int fsl_initdram(void) { phys_size_t dram_size; -#if defined(CONFIG_SPL) && !defined(CONFIG_SPL_BUILD) +#if defined(CONFIG_SPL) && !defined(CONFIG_XPL_BUILD) gd->ram_size = fsl_ddr_sdram_size(); return 0; |