mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2025-11-28 22:21:49 +01:00
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>
This commit is contained in:
parent
35a15bc12e
commit
16613edbc1
@ -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);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user