From 57e5ecaf755d5301cd33683788e4b8432938bbbe Mon Sep 17 00:00:00 2001
From: Tom Rini <trini@konsulko.com>
Date: Tue, 19 Jan 2016 13:01:59 -0500
Subject: [PATCH] iocon / bamboo: Drop CONFIG_SYS_LONGHELP

The iocon and bamboo boards are often on the verge of, or going over,
their allowed size limits depending on toolchain used.  If we turn off
CONFIG_SYS_LONGHELP we can gain approximately 14KiB back.

Signed-off-by: Tom Rini <trini@konsulko.com>
Acked-by: Stefan Roese <sr@denx.de>
Acked-by: Dirk Eibach <dirk.eibach@gdsys.cc>
---
 include/configs/bamboo.h | 3 +++
 include/configs/iocon.h  | 3 +++
 2 files changed, 6 insertions(+)

diff --git a/include/configs/bamboo.h b/include/configs/bamboo.h
index 5b8b22f0e6..bb2abf1a42 100644
--- a/include/configs/bamboo.h
+++ b/include/configs/bamboo.h
@@ -29,6 +29,9 @@
 #define CONFIG_HOSTNAME		bamboo
 #include "amcc-common.h"
 
+/* Reclaim some space. */
+#undef CONFIG_SYS_LONGHELP
+
 #define CONFIG_BOARD_EARLY_INIT_F 1     /* Call board_early_init_f	*/
 
 /*
diff --git a/include/configs/iocon.h b/include/configs/iocon.h
index 8663c1772a..8bc89a05eb 100644
--- a/include/configs/iocon.h
+++ b/include/configs/iocon.h
@@ -20,6 +20,9 @@
 #define CONFIG_IDENT_STRING	" iocon 0.06"
 #include "amcc-common.h"
 
+/* Reclaim some space. */
+#undef CONFIG_SYS_LONGHELP
+
 #define CONFIG_BOARD_EARLY_INIT_F
 #define CONFIG_BOARD_EARLY_INIT_R
 #define CONFIG_LAST_STAGE_INIT
-- 
2.39.5