summaryrefslogtreecommitdiff
path: root/arch/arm/lib
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 /arch/arm/lib
parentacb5ff021eb65931d3e970da8ff0a00dda0cd088 (diff)
downloadu-boot-imx-80402f34f8e1f46134a0272ff4d34be64ff7380b.zip
u-boot-imx-80402f34f8e1f46134a0272ff4d34be64ff7380b.tar.gz
u-boot-imx-80402f34f8e1f46134a0272ff4d34be64ff7380b.tar.bz2
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 'arch/arm/lib')
-rw-r--r--arch/arm/lib/interrupts.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/lib/interrupts.c b/arch/arm/lib/interrupts.c
index 06f4679..ec3fb77 100644
--- a/arch/arm/lib/interrupts.c
+++ b/arch/arm/lib/interrupts.c
@@ -123,8 +123,8 @@ void bad_mode (void)
void show_regs (struct pt_regs *regs)
{
- unsigned long flags;
- const char *processor_modes[] = {
+ unsigned long __maybe_unused flags;
+ const char __maybe_unused *processor_modes[] = {
"USER_26", "FIQ_26", "IRQ_26", "SVC_26",
"UK4_26", "UK5_26", "UK6_26", "UK7_26",
"UK8_26", "UK9_26", "UK10_26", "UK11_26",