summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorStefano Babic <sbabic@denx.de>2014-04-02 10:42:06 +0200
committerStefano Babic <sbabic@denx.de>2014-04-02 10:42:06 +0200
commitbb2637be096b842ee25b96c7cfe4f26e55fb7026 (patch)
treebc773aa30c8144802e8abda1db57052c6d03855b /arch
parent9926eb31b707cd7e769ab855186aa96ff7d5b7ff (diff)
downloadu-boot-imx-bb2637be096b842ee25b96c7cfe4f26e55fb7026.zip
u-boot-imx-bb2637be096b842ee25b96c7cfe4f26e55fb7026.tar.gz
u-boot-imx-bb2637be096b842ee25b96c7cfe4f26e55fb7026.tar.bz2
mxs: fix warning in SPL with console support
Signed-off-by: Stefano Babic <sbabic@denx.de>
Diffstat (limited to 'arch')
-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 e643ead..d3e1369 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