aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'common/spl/spl.c')
-rwxr-xr-xcommon/spl/spl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/spl/spl.c b/common/spl/spl.c
index 7ded395e9a..28b8da73d1 100755
--- a/common/spl/spl.c
+++ b/common/spl/spl.c
@@ -59,7 +59,7 @@ __weak int spl_start_uboot(void)
59 59
60void spl_fixup_fdt(void) 60void spl_fixup_fdt(void)
61{ 61{
62#ifdef CONFIG_SPL_OF_LIBFDT 62#if defined(CONFIG_SPL_OF_LIBFDT) && defined(CONFIG_SYS_SPL_ARGS_ADDR)
63 void *fdt_blob = (void *)CONFIG_SYS_SPL_ARGS_ADDR; 63 void *fdt_blob = (void *)CONFIG_SYS_SPL_ARGS_ADDR;
64 int err; 64 int err;
65 65