summaryrefslogtreecommitdiff
path: root/arch/arm/cpu/arm926ejs/mxs/spl_boot.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/cpu/arm926ejs/mxs/spl_boot.c')
-rw-r--r--arch/arm/cpu/arm926ejs/mxs/spl_boot.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/cpu/arm926ejs/mxs/spl_boot.c b/arch/arm/cpu/arm926ejs/mxs/spl_boot.c
index e643eade1b0..d3e136991ad 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