From: Simon Glass Date: Wed, 28 Nov 2012 07:54:58 +0000 (+0000) Subject: fdt: Correct global_data condition in main X-Git-Url: http://git.dujemihanovic.xyz/img/static/gitweb.css?a=commitdiff_plain;h=f39612d360c02ce97e7ca7a872693f348f7ec8fd;p=u-boot.git 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 --- diff --git a/common/main.c b/common/main.c index 8052d4222e..5362781f18 100644 --- a/common/main.c +++ b/common/main.c @@ -53,9 +53,7 @@ #include #include -#if defined(CONFIG_SILENT_CONSOLE) || defined(CONFIG_POST) || defined(CONFIG_CMDLINE_EDITING) DECLARE_GLOBAL_DATA_PTR; -#endif /* * Board-specific Platform code can reimplement show_boot_progress () if needed