[U-Boot] [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.
Cc: Dirk Eibach eibach@gdsys.de Cc: Stefan Roese sr@denx.de Signed-off-by: Tom Rini trini@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

On 19.01.2016 19:01, Tom Rini wrote:
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@gdsys.de Cc: Stefan Roese sr@denx.de Signed-off-by: Tom Rini trini@konsulko.com
Acked-by: Stefan Roese sr@denx.de
Thanks, Stefan

2016-01-19 19:01 GMT+01:00 Tom Rini trini@konsulko.com:
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@gdsys.de Cc: Stefan Roese sr@denx.de Signed-off-by: Tom Rini trini@konsulko.com
Acked-by: Dirk Eibach dirk.eibach@gdsys.cc
Cheers Dirk

On Tue, Jan 19, 2016 at 01:01:59PM -0500, Tom Rini wrote:
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@gdsys.de Cc: Stefan Roese sr@denx.de Signed-off-by: Tom Rini trini@konsulko.com Acked-by: Stefan Roese sr@denx.de Acked-by: Dirk Eibach dirk.eibach@gdsys.cc
Applied to u-boot/master, thanks!
participants (3)
-
Dirk Eibach
-
Stefan Roese
-
Tom Rini