mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2025-11-29 06:31:28 +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)
|
int dram_init(void)
|
||||||
{
|
{
|
||||||
#ifndef CONFIG_SUPPORT_SPL
|
#ifndef CONFIG_SPL_BUILD
|
||||||
int rv;
|
int rv;
|
||||||
struct udevice *dev;
|
struct udevice *dev;
|
||||||
rv = uclass_get_device(UCLASS_RAM, 0, &dev);
|
rv = uclass_get_device(UCLASS_RAM, 0, &dev);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user