aboutsummaryrefslogtreecommitdiffstats
path: root/board/st
diff options
context:
space:
mode:
authorPatrice Chotard <patrice.chotard@foss.st.com>2022-04-27 13:53:57 +0200
committerPatrice Chotard <patrice.chotard@foss.st.com>2022-05-10 13:56:12 +0200
commit16613edbc1b59e906a41e84382f3e098f0ec946a (patch)
tree12aa695613303c8be756d69383687a8477cf7421 /board/st
parent35a15bc12ecb721449c300646d7aba4a1d8a7d7a (diff)
downloadu-boot-16613edbc1b59e906a41e84382f3e098f0ec946a.tar.gz
board: stm32f746-disco: Fix dram_init() in none SPL config
Replace CONFIG_SUPPORT_SPL by CONFIG_SPL_BUILD to allow dram_init() execution when using none SPL defconfig (stm32f746-disco_defconfig). Signed-off-by: Patrice Chotard <patrice.chotard@foss.st.com> Reviewed-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
Diffstat (limited to 'board/st')
-rw-r--r--board/st/stm32f746-disco/stm32f746-disco.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/st/stm32f746-disco/stm32f746-disco.c b/board/st/stm32f746-disco/stm32f746-disco.c
index 69f657c54b8..2ab23f2f4f7 100644
--- a/board/st/stm32f746-disco/stm32f746-disco.c
+++ b/board/st/stm32f746-disco/stm32f746-disco.c
@@ -29,7 +29,7 @@ DECLARE_GLOBAL_DATA_PTR;
int dram_init(void)
{
-#ifndef CONFIG_SUPPORT_SPL
+#ifndef CONFIG_SPL_BUILD
int rv;
struct udevice *dev;
rv = uclass_get_device(UCLASS_RAM, 0, &dev);