summaryrefslogtreecommitdiff
path: root/common/cli_readline.c
diff options
context:
space:
mode:
authorHeiko Schocher <hs@denx.de>2015-06-29 09:10:46 +0200
committerTom Rini <trini@konsulko.com>2015-08-12 20:47:13 -0400
commit80402f34f8e1f46134a0272ff4d34be64ff7380b (patch)
tree5fcf26d057c39f522fe4cf6ed77966dc322d72b8 /common/cli_readline.c
parentacb5ff021eb65931d3e970da8ff0a00dda0cd088 (diff)
downloadu-boot-80402f34f8e1f46134a0272ff4d34be64ff7380b.tar.gz
spl, common, serial: build SPL without serial support
This patch enables building SPL without CONFIG_SPL_SERIAL_SUPPORT support. Signed-off-by: Heiko Schocher <hs@denx.de> [trini: Ensure we build arch/arm/imx-common on mx28] Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'common/cli_readline.c')
-rw-r--r--common/cli_readline.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/cli_readline.c b/common/cli_readline.c
index 9a9fb35b71..c1476e42d9 100644
--- a/common/cli_readline.c
+++ b/common/cli_readline.c
@@ -597,7 +597,7 @@ int cli_readline_into_buffer(const char *const prompt, char *buffer,
puts(tab_seq + (col & 07));
col += 8 - (col & 07);
} else {
- char buf[2];
+ char __maybe_unused buf[2];
/*
* Echo input using puts() to force an