summaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2017-10-12 13:36:58 -0400
committerTom Rini <trini@konsulko.com>2017-10-12 13:36:58 -0400
commit26f9184e094541b672f83f23652e2e737d5d0729 (patch)
tree691d6cb0965ae8fb01f8be9694076176666f8ab3 /cmd
parente11d2fff73b5c0e04027b55020a0a56d9dc72aa4 (diff)
parent23af484b0156baaafd578222d73513418df78f09 (diff)
Merge git://git.denx.de/u-boot-fsl-qoriq
Diffstat (limited to 'cmd')
-rw-r--r--cmd/spl.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/cmd/spl.c b/cmd/spl.c
index 4d84492346..3b8992a163 100644
--- a/cmd/spl.c
+++ b/cmd/spl.c
@@ -121,9 +121,11 @@ static int spl_export(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
(void *)images.ft_addr);
env_set_addr("fdtargsaddr", images.ft_addr);
env_set_hex("fdtargslen", fdt_totalsize(images.ft_addr));
+#ifdef CONFIG_CMD_SPL_WRITE_SIZE
if (fdt_totalsize(images.ft_addr) >
CONFIG_CMD_SPL_WRITE_SIZE)
puts("WARN: FDT size > CMD_SPL_WRITE_SIZE\n");
+#endif
break;
#endif
case SPL_EXPORT_ATAGS: