X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=common%2Fcmd_spl.c;h=e3c543b46a54724eade6cb92f99dbc3381a5e1ed;hb=588a13f742b6d63ac7d5631af11baa01f3a9e80f;hp=9ec054af3b359b6048df6d5f503307cec156697c;hpb=5c877b1ae0a4219ed6bd8d32cf3f7106b81ecb3b;p=u-boot diff --git a/common/cmd_spl.c b/common/cmd_spl.c index 9ec054af3b..e3c543b46a 100644 --- a/common/cmd_spl.c +++ b/common/cmd_spl.c @@ -130,10 +130,12 @@ static int spl_export(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) if (call_bootm(argc, argv, subcmd_list[(int)c->cmd])) return -1; switch ((int)c->cmd) { +#ifdef CONFIG_OF_LIBFDT case SPL_EXPORT_FDT: printf("Argument image is now in RAM: 0x%p\n", (void *)images.ft_addr); break; +#endif case SPL_EXPORT_ATAGS: printf("Argument image is now in RAM at: 0x%p\n", (void *)gd->bd->bi_boot_params);