]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
pxa: colibri_pxa270: disable loadb/s commands and long help
authorMarcel Ziswiler <marcel@ziswiler.com>
Sat, 28 Feb 2015 23:53:14 +0000 (00:53 +0100)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 1 Sep 2015 12:10:24 +0000 (14:10 +0200)
To save more than 20 KB of precious space in NOR flash get rid of the
following configuration options:

CONFIG_CMD_LOADB
CONFIG_CMD_LOADS
CONFIG_SYS_LONGHELP

Signed-off-by: Marcel Ziswiler <marcel@ziswiler.com>
include/configs/colibri_pxa270.h

index bb4841919d4b0ced22d01ef3d4c43c4486a1cfad..c2714f75581e9606643c91b6e975b57c5e939a30 100644 (file)
@@ -52,6 +52,8 @@
  */
 #include <config_cmd_default.h>
 
+#undef CONFIG_CMD_LOADB                        /* Both together */
+#undef CONFIG_CMD_LOADS                        /* saves 10 KB */
 #define        CONFIG_CMD_NET
 #define        CONFIG_CMD_ENV
 #undef CONFIG_CMD_IMLS
@@ -84,7 +86,7 @@
  */
 #define        CONFIG_SYS_HUSH_PARSER          1
 
-#define        CONFIG_SYS_LONGHELP
+#undef CONFIG_SYS_LONGHELP             /* Saves 10 KB */
 #ifdef CONFIG_SYS_HUSH_PARSER
 #define        CONFIG_SYS_PROMPT               "$ "
 #else