Skip to content
Snippets Groups Projects
Commit 08293230 authored by Peter Tyser's avatar Peter Tyser Committed by Wolfgang Denk
Browse files

ppc: Fix compile warnings when !CONFIG_OF_LIBFDT


Signed-off-by: default avatarPeter Tyser <ptyser@xes-inc.com>
parent a80b21d5
No related branches found
No related tags found
No related merge requests found
...@@ -224,12 +224,13 @@ static int boot_bd_t_linux(bootm_headers_t *images) ...@@ -224,12 +224,13 @@ static int boot_bd_t_linux(bootm_headers_t *images)
static int boot_body_linux(bootm_headers_t *images) static int boot_body_linux(bootm_headers_t *images)
{ {
ulong rd_len, bootmap_base = getenv_bootm_low(); ulong rd_len;
ulong of_size = images->ft_len;
struct lmb *lmb = &images->lmb; struct lmb *lmb = &images->lmb;
ulong *initrd_start = &images->initrd_start; ulong *initrd_start = &images->initrd_start;
ulong *initrd_end = &images->initrd_end; ulong *initrd_end = &images->initrd_end;
#if defined(CONFIG_OF_LIBFDT) #if defined(CONFIG_OF_LIBFDT)
ulong bootmap_base = getenv_bootm_low();
ulong of_size = images->ft_len;
char **of_flat_tree = &images->ft_addr; char **of_flat_tree = &images->ft_addr;
#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