From: Stefano Babic Date: Wed, 2 Apr 2014 08:42:06 +0000 (+0200) Subject: mxs: fix warning in SPL with console support X-Git-Tag: v2014.04~29 X-Git-Url: https://git.kernelconcepts.de/?p=karo-tx-uboot.git;a=commitdiff_plain;h=bb2637be096b842ee25b96c7cfe4f26e55fb7026 mxs: fix warning in SPL with console support Signed-off-by: Stefano Babic --- diff --git a/arch/arm/cpu/arm926ejs/mxs/spl_boot.c b/arch/arm/cpu/arm926ejs/mxs/spl_boot.c index e643eade1b..d3e136991a 100644 --- a/arch/arm/cpu/arm926ejs/mxs/spl_boot.c +++ b/arch/arm/cpu/arm926ejs/mxs/spl_boot.c @@ -19,7 +19,9 @@ DECLARE_GLOBAL_DATA_PTR; static gd_t gdata __section(".data"); +#ifdef CONFIG_SPL_SERIAL_SUPPORT static bd_t bdata __section(".data"); +#endif /* * This delay function is intended to be used only in early stage of boot, where