summaryrefslogtreecommitdiff
path: root/include/configs/p1_twr.h
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2017-08-23 22:59:06 +0200
committerTom Rini <trini@konsulko.com>2017-09-03 15:30:30 -0400
commite090579d0a2d1aa38eab94b98877de9bcdd4f31d (patch)
tree34a9d760b82bdd1c9755b847ed0b3602257f5c8a /include/configs/p1_twr.h
parent8a7507a8a394f4fccbd7eb730910cf62de6f8d32 (diff)
include/configs: remove numerous CONFIG_SYS_BARGSIZE definitions
This commit removes definitions of CONFIG_SYS_BARGSIZE defined to be equal to CONFIG_SYS_CBSIZE in numerous configuration files. We remove such definitions in two situations: - CONFIG_SYS_CBSIZE is otherwise not defined in the board configuration file, which means the default value of CONFIG_SYS_CBSIZE == 256 applies. In this case, the default value of CONFIG_SYS_BARGSIZE == 512 (common/image.c) is suitable, as it is larger. - CONFIG_SYS_CBSIZE is defined in the board configuration file, but to a value equal or less than 512. In this case, the default value of CONFIG_SYS_BARGSIZE == 512 (common.image.c) is suitable, as it is equal or larger. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Reviewed-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'include/configs/p1_twr.h')
-rw-r--r--include/configs/p1_twr.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/configs/p1_twr.h b/include/configs/p1_twr.h
index 0d8ef1e8e2..5a3245c473 100644
--- a/include/configs/p1_twr.h
+++ b/include/configs/p1_twr.h
@@ -397,7 +397,6 @@ extern unsigned long get_board_sys_clk(unsigned long dummy);
#define CONFIG_SYS_LONGHELP /* undef to save memory */
#define CONFIG_CMDLINE_EDITING /* Command-line editing */
#define CONFIG_SYS_LOAD_ADDR 0x2000000 /* default load address */
-#define CONFIG_SYS_BARGSIZE CONFIG_SYS_CBSIZE/* Boot Argument Buffer Size */
/*
* For booting Linux, the board info and command line data