Commit f39612d360c02ce97e7ca7a872693f348f7ec8fd

Authored by Simon Glass
Committed by Gerald Van Baren
1 parent d41b3cc16f

fdt: Correct global_data condition in main

We need an extra condition here in case we want to use fdt without the
silent console/cmdline editing/post options. It is easier to just remove
the #ifdef.

Signed-off-by: Simon Glass <sjg@chromium.org>

Showing 1 changed file with 0 additions and 2 deletions Side-by-side Diff

... ... @@ -53,9 +53,7 @@
53 53 #include <linux/ctype.h>
54 54 #include <menu.h>
55 55  
56   -#if defined(CONFIG_SILENT_CONSOLE) || defined(CONFIG_POST) || defined(CONFIG_CMDLINE_EDITING)
57 56 DECLARE_GLOBAL_DATA_PTR;
58   -#endif
59 57  
60 58 /*
61 59 * Board-specific Platform code can reimplement show_boot_progress () if needed