[U-Boot] [PATCH] iocon / bamboo: Drop CONFIG_SYS_LONGHELP

Tom Rini trini at konsulko.com
Tue Jan 19 19:01:59 CET 2016


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.

Cc: Dirk Eibach <eibach at gdsys.de>
Cc: Stefan Roese <sr at denx.de>
Signed-off-by: Tom Rini <trini at konsulko.com>
---
 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 5b8b22f..bb2abf1 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 8663c17..8bc89a0 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
-- 
1.7.9.5



More information about the U-Boot mailing list