Skip to content
Snippets Groups Projects
Commit 1d9af0be authored by Jean-Christophe PLAGNIOL-VILLARD's avatar Jean-Christophe PLAGNIOL-VILLARD Committed by Wolfgang Denk
Browse files

bootm: enable fdt support only on ppc, m68k and sparc


...as done in image.c

Signed-off-by: default avatarJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
parent 748b5274
No related branches found
No related tags found
No related merge requests found
...@@ -251,6 +251,7 @@ static int bootm_start(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[]) ...@@ -251,6 +251,7 @@ static int bootm_start(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
} }
#if defined(CONFIG_OF_LIBFDT) #if defined(CONFIG_OF_LIBFDT)
#if defined(CONFIG_PPC) || defined(CONFIG_M68K) || defined(CONFIG_SPARC)
/* find flattened device tree */ /* find flattened device tree */
ret = boot_get_fdt (flag, argc, argv, &images, ret = boot_get_fdt (flag, argc, argv, &images,
&images.ft_addr, &images.ft_len); &images.ft_addr, &images.ft_len);
...@@ -260,6 +261,7 @@ static int bootm_start(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[]) ...@@ -260,6 +261,7 @@ static int bootm_start(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
} }
set_working_fdt_addr(images.ft_addr); set_working_fdt_addr(images.ft_addr);
#endif
#endif #endif
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment