Re: [U-Boot] [PATCH 7/8] include/configs: remove default values of CONFIG_SYS_BARGSIZE

2017-08-24 Thread Tom Rini
On Wed, Aug 23, 2017 at 10:59:05PM +0200, Thomas Petazzoni wrote:

> CONFIG_SYS_BARGSIZE is already defined to 512 in common/image.c when
> not defined. Therefore, there is no point in having board
> configuration files define it to 512.
> 
> Signed-off-by: Thomas Petazzoni 

Reviewed-by: Tom Rini 

-- 
Tom


signature.asc
Description: Digital signature
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


[U-Boot] [PATCH 7/8] include/configs: remove default values of CONFIG_SYS_BARGSIZE

2017-08-23 Thread Thomas Petazzoni
CONFIG_SYS_BARGSIZE is already defined to 512 in common/image.c when
not defined. Therefore, there is no point in having board
configuration files define it to 512.

Signed-off-by: Thomas Petazzoni 
---
 include/configs/MigoR.h| 1 -
 include/configs/ap325rxa.h | 2 --
 include/configs/ap_sh4a_4a.h   | 2 --
 include/configs/armadillo-800eva.h | 1 -
 include/configs/ecovec.h   | 2 --
 include/configs/espt.h | 2 --
 include/configs/kzm9g.h| 1 -
 include/configs/mpr2.h | 1 -
 include/configs/ms7720se.h | 2 --
 include/configs/ms7722se.h | 1 -
 include/configs/ms7750se.h | 1 -
 include/configs/r0p7734.h  | 2 --
 include/configs/r2dplus.h  | 1 -
 include/configs/r7780mp.h  | 1 -
 include/configs/rcar-gen2-common.h | 1 -
 include/configs/rsk7203.h  | 2 --
 include/configs/sh7752evb.h| 1 -
 include/configs/sh7753evb.h| 1 -
 include/configs/sh7757lcr.h| 1 -
 include/configs/sh7763rdp.h| 2 --
 include/configs/sh7785lcr.h| 1 -
 include/configs/shmin.h| 2 --
 22 files changed, 31 deletions(-)

diff --git a/include/configs/MigoR.h b/include/configs/MigoR.h
index cd10372..3cf2f09 100644
--- a/include/configs/MigoR.h
+++ b/include/configs/MigoR.h
@@ -27,7 +27,6 @@
 #define CONFIG_SYS_TEXT_BASE   0x8FFC
 #define CONFIG_SYS_LONGHELP/* undef to save memory */
 #define CONFIG_SYS_PBSIZE  256 /* Buffer size for 
Console output */
-#define CONFIG_SYS_BARGSIZE512 /* Buffer size for Boot 
Arguments passed to kernel */
 #define CONFIG_SYS_BAUDRATE_TABLE  { 115200 }  /* List of legal 
baudrate settings for this board */
 
 /* SCIF */
diff --git a/include/configs/ap325rxa.h b/include/configs/ap325rxa.h
index c63913a..1140a70 100644
--- a/include/configs/ap325rxa.h
+++ b/include/configs/ap325rxa.h
@@ -33,8 +33,6 @@
 /* Monitor Command Prompt */
 /* Buffer size for Console output */
 #define CONFIG_SYS_PBSIZE  256
-/* Buffer size for Boot Arguments passed to kernel */
-#define CONFIG_SYS_BARGSIZE512
 /* List of legal baudrate settings for this board */
 #define CONFIG_SYS_BAUDRATE_TABLE  { 38400 }
 
diff --git a/include/configs/ap_sh4a_4a.h b/include/configs/ap_sh4a_4a.h
index 8acaee1..ab3d40c 100644
--- a/include/configs/ap_sh4a_4a.h
+++ b/include/configs/ap_sh4a_4a.h
@@ -33,8 +33,6 @@
 /* Monitor Command Prompt */
 /* Buffer size for Console output */
 #define CONFIG_SYS_PBSIZE  256
-/* Buffer size for Boot Arguments passed to kernel */
-#define CONFIG_SYS_BARGSIZE512
 /* List of legal baudrate settings for this board */
 #define CONFIG_SYS_BAUDRATE_TABLE  { 115200 }
 
diff --git a/include/configs/armadillo-800eva.h 
b/include/configs/armadillo-800eva.h
index bea1e72..66ae76b 100644
--- a/include/configs/armadillo-800eva.h
+++ b/include/configs/armadillo-800eva.h
@@ -36,7 +36,6 @@
 
 #define CONFIG_SYS_LONGHELP
 #define CONFIG_SYS_PBSIZE  256
-#define CONFIG_SYS_BARGSIZE512
 #define CONFIG_SYS_BAUDRATE_TABLE  { 115200 }
 
 /* SCIF */
diff --git a/include/configs/ecovec.h b/include/configs/ecovec.h
index 8c8f68f..8cb3efc 100644
--- a/include/configs/ecovec.h
+++ b/include/configs/ecovec.h
@@ -66,8 +66,6 @@
 /* Monitor Command Prompt */
 /* Buffer size for Console output */
 #define CONFIG_SYS_PBSIZE  256
-/* Buffer size for Boot Arguments passed to kernel */
-#define CONFIG_SYS_BARGSIZE512
 /* List of legal baudrate settings for this board */
 #define CONFIG_SYS_BAUDRATE_TABLE  { 115200 }
 
diff --git a/include/configs/espt.h b/include/configs/espt.h
index 934b52a..628406a 100644
--- a/include/configs/espt.h
+++ b/include/configs/espt.h
@@ -25,8 +25,6 @@
 #define CONFIG_SYS_TEXT_BASE   0x8FFC
 #define CONFIG_SYS_LONGHELP/* undef to save memory */
 #define CONFIG_SYS_PBSIZE  256 /* Buffer size for Console 
output */
-#define CONFIG_SYS_BARGSIZE512 /* Buffer size for Boot Arguments
-   passed to 
kernel */
 #define CONFIG_SYS_BAUDRATE_TABLE  { 115200 }  /* List of legal 
baudrate

settings for this board */
 
diff --git a/include/configs/kzm9g.h b/include/configs/kzm9g.h
index b408cd4..a260d0e 100644
--- a/include/configs/kzm9g.h
+++ b/include/configs/kzm9g.h
@@ -41,7 +41,6 @@
 /* prompt */
 #define CONFIG_SYS_LONGHELP
 #define CONFIG_SYS_PBSIZE  256
-#define CONFIG_SYS_BARGSIZE512
 #define CONFIG_SYS_BAUDRATE_TABLE  { 115200 }
 
 /* SCIF */
diff --git a/include/configs/mpr2.h b/include/configs/mpr2.h
index 761558c..14b0492 100644
--- a/include/configs/mpr2.h
+++ b/include/configs/mpr2.h
@@ -24,7 +24,6 @@
 
 /* U-Boot internals */
 #define CONFIG_SYS_LONGHELP