mxs: fix warning in SPL with console support
authorStefano Babic <sbabic@denx.de>
Wed, 2 Apr 2014 08:42:06 +0000 (10:42 +0200)
committerStefano Babic <sbabic@denx.de>
Wed, 2 Apr 2014 08:42:06 +0000 (10:42 +0200)
Signed-off-by: Stefano Babic <sbabic@denx.de>
arch/arm/cpu/arm926ejs/mxs/spl_boot.c

index e643eade1b0c07e90f5afa1072f959de60069493..d3e136991ad2035ad187b6ac22095711561bfaa2 100644 (file)
@@ -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