]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - arch/arm/cpu/arm926ejs/mxs/spl_boot.c
mxs: fix warning in SPL with console support
[karo-tx-uboot.git] / 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