From patchwork Wed Aug 23 20:59:05 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thomas Petazzoni X-Patchwork-Id: 805177 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.denx.de (client-ip=81.169.180.215; helo=lists.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 3xd0Kz1c4Cz9t38 for ; Thu, 24 Aug 2017 07:04:39 +1000 (AEST) Received: by lists.denx.de (Postfix, from userid 105) id D1B03C21E93; Wed, 23 Aug 2017 21:04:02 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id 61FBAC21E8B; Wed, 23 Aug 2017 20:59:53 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 8E7F1C21DF0; Wed, 23 Aug 2017 20:59:47 +0000 (UTC) Received: from mail.free-electrons.com (mail.free-electrons.com [62.4.15.54]) by lists.denx.de (Postfix) with ESMTP id 6D3BAC21E64 for ; Wed, 23 Aug 2017 20:59:39 +0000 (UTC) Received: by mail.free-electrons.com (Postfix, from userid 110) id 6EDA7209DB; Wed, 23 Aug 2017 22:59:38 +0200 (CEST) Received: from localhost (132.230.147.77.rev.sfr.net [77.147.230.132]) by mail.free-electrons.com (Postfix) with ESMTPSA id BA8F520852; Wed, 23 Aug 2017 22:59:27 +0200 (CEST) From: Thomas Petazzoni To: u-boot@lists.denx.de Date: Wed, 23 Aug 2017 22:59:05 +0200 Message-Id: <20170823205906.20933-8-thomas.petazzoni@free-electrons.com> X-Mailer: git-send-email 2.9.4 In-Reply-To: <20170823205906.20933-1-thomas.petazzoni@free-electrons.com> References: <20170823205906.20933-1-thomas.petazzoni@free-electrons.com> Cc: Thomas Petazzoni Subject: [U-Boot] [PATCH 7/8] include/configs: remove default values of CONFIG_SYS_BARGSIZE X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" 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 --- 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 0x8FFC0000 #define CONFIG_SYS_LONGHELP /* undef to save memory */ #define CONFIG_SYS_PBSIZE 256 /* Buffer size for Console output */ -#define CONFIG_SYS_BARGSIZE 512 /* 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_BARGSIZE 512 /* 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_BARGSIZE 512 /* 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_BARGSIZE 512 #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_BARGSIZE 512 /* 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 0x8FFC0000 #define CONFIG_SYS_LONGHELP /* undef to save memory */ #define CONFIG_SYS_PBSIZE 256 /* Buffer size for Console output */ -#define CONFIG_SYS_BARGSIZE 512 /* 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_BARGSIZE 512 #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 /* undef to save memory */ -#define CONFIG_SYS_BARGSIZE 512 /* Buffer size for Boot Arguments passed to kernel */ #define CONFIG_SYS_BAUDRATE_TABLE { 115200 } /* List of legal baudrate settings for this board */ #define CONFIG_SYS_LOAD_ADDR (CONFIG_SYS_SDRAM_BASE + 32 * 1024 * 1024) #define CONFIG_SYS_MONITOR_BASE CONFIG_SYS_FLASH_BASE diff --git a/include/configs/ms7720se.h b/include/configs/ms7720se.h index 19cbe86..7a9aa82 100644 --- a/include/configs/ms7720se.h +++ b/include/configs/ms7720se.h @@ -26,8 +26,6 @@ #define CONFIG_SYS_TEXT_BASE 0x8FFC0000 #define CONFIG_SYS_LONGHELP /* undef to save memory */ #define CONFIG_SYS_PBSIZE 256 /* Buffer size for Console output */ -/* Buffer size for Boot Arguments passed to kernel */ -#define CONFIG_SYS_BARGSIZE 512 /* List of legal baudrate settings for this board */ #define CONFIG_SYS_BAUDRATE_TABLE { 115200 } diff --git a/include/configs/ms7722se.h b/include/configs/ms7722se.h index ca9fcd4..431d747 100644 --- a/include/configs/ms7722se.h +++ b/include/configs/ms7722se.h @@ -27,7 +27,6 @@ #define CONFIG_SYS_TEXT_BASE 0x8FFC0000 #define CONFIG_SYS_LONGHELP /* undef to save memory */ #define CONFIG_SYS_PBSIZE 256 /* Buffer size for Console output */ -#define CONFIG_SYS_BARGSIZE 512 /* 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/ms7750se.h b/include/configs/ms7750se.h index f67912d..e942758 100644 --- a/include/configs/ms7750se.h +++ b/include/configs/ms7750se.h @@ -30,7 +30,6 @@ #define CONFIG_SYS_LONGHELP #define CONFIG_SYS_PBSIZE 256 -#define CONFIG_SYS_BARGSIZE 512 #define CONFIG_SYS_TEXT_BASE 0x8FFC0000 #define CONFIG_SYS_MEMTEST_START (CONFIG_SYS_SDRAM_BASE) diff --git a/include/configs/r0p7734.h b/include/configs/r0p7734.h index 1550976..ea9aa8d 100644 --- a/include/configs/r0p7734.h +++ b/include/configs/r0p7734.h @@ -36,8 +36,6 @@ /* undef to save memory */ #define CONFIG_SYS_LONGHELP -/* Buffer size for Boot Arguments passed to kernel */ -#define CONFIG_SYS_BARGSIZE 512 /* List of legal baudrate settings for this board */ #define CONFIG_SYS_BAUDRATE_TABLE { 115200 } diff --git a/include/configs/r2dplus.h b/include/configs/r2dplus.h index 5728ef0..cdbe96e 100644 --- a/include/configs/r2dplus.h +++ b/include/configs/r2dplus.h @@ -20,7 +20,6 @@ #define CONFIG_SYS_TEXT_BASE 0x8FE00000 #define CONFIG_SYS_LONGHELP #define CONFIG_SYS_PBSIZE 256 -#define CONFIG_SYS_BARGSIZE 512 #define CONFIG_SYS_MEMTEST_START (CONFIG_SYS_SDRAM_BASE) #define CONFIG_SYS_MEMTEST_END (CONFIG_SYS_TEXT_BASE - 0x100000) diff --git a/include/configs/r7780mp.h b/include/configs/r7780mp.h index 857fc10..241d067 100644 --- a/include/configs/r7780mp.h +++ b/include/configs/r7780mp.h @@ -27,7 +27,6 @@ #define CONFIG_SYS_LONGHELP #define CONFIG_SYS_PBSIZE 256 -#define CONFIG_SYS_BARGSIZE 512 #define CONFIG_SYS_MEMTEST_START (CONFIG_SYS_SDRAM_BASE) #define CONFIG_SYS_MEMTEST_END (CONFIG_SYS_TEXT_BASE - 0x100000) diff --git a/include/configs/rcar-gen2-common.h b/include/configs/rcar-gen2-common.h index a137ac4..2c10e61 100644 --- a/include/configs/rcar-gen2-common.h +++ b/include/configs/rcar-gen2-common.h @@ -32,7 +32,6 @@ #define CONFIG_SYS_LONGHELP #define CONFIG_SYS_PBSIZE 256 -#define CONFIG_SYS_BARGSIZE 512 #define CONFIG_SYS_BAUDRATE_TABLE { 38400, 115200 } #define CONFIG_SYS_SDRAM_BASE (RCAR_GEN2_SDRAM_BASE) diff --git a/include/configs/rsk7203.h b/include/configs/rsk7203.h index 2f84746..e52756a 100644 --- a/include/configs/rsk7203.h +++ b/include/configs/rsk7203.h @@ -25,8 +25,6 @@ #define CONFIG_SYS_TEXT_BASE 0x0C7C0000 #define CONFIG_SYS_LONGHELP /* undef to save memory */ -/* Buffer size for Boot Arguments passed to kernel */ -#define CONFIG_SYS_BARGSIZE 512 /* List of legal baudrate settings for this board */ #define CONFIG_SYS_BAUDRATE_TABLE { 115200 } diff --git a/include/configs/sh7752evb.h b/include/configs/sh7752evb.h index 52ed06f..13d22a2 100644 --- a/include/configs/sh7752evb.h +++ b/include/configs/sh7752evb.h @@ -25,7 +25,6 @@ #define CONFIG_SYS_LONGHELP #define CONFIG_SYS_PBSIZE 256 -#define CONFIG_SYS_BARGSIZE 512 #define CONFIG_SYS_BAUDRATE_TABLE { 115200 } /* SCIF */ diff --git a/include/configs/sh7753evb.h b/include/configs/sh7753evb.h index b97e403..66f8c7a 100644 --- a/include/configs/sh7753evb.h +++ b/include/configs/sh7753evb.h @@ -25,7 +25,6 @@ #define CONFIG_SYS_LONGHELP #define CONFIG_SYS_PBSIZE 256 -#define CONFIG_SYS_BARGSIZE 512 #define CONFIG_SYS_BAUDRATE_TABLE { 115200 } /* SCIF */ diff --git a/include/configs/sh7757lcr.h b/include/configs/sh7757lcr.h index 0c0a669..43de7e5 100644 --- a/include/configs/sh7757lcr.h +++ b/include/configs/sh7757lcr.h @@ -26,7 +26,6 @@ #define CONFIG_SYS_LONGHELP #define CONFIG_SYS_PBSIZE 256 -#define CONFIG_SYS_BARGSIZE 512 #define CONFIG_SYS_BAUDRATE_TABLE { 115200 } /* SCIF */ diff --git a/include/configs/sh7763rdp.h b/include/configs/sh7763rdp.h index 00f3576..61fb64e 100644 --- a/include/configs/sh7763rdp.h +++ b/include/configs/sh7763rdp.h @@ -25,8 +25,6 @@ #define CONFIG_SYS_TEXT_BASE 0x8FFC0000 #define CONFIG_SYS_LONGHELP /* undef to save memory */ #define CONFIG_SYS_PBSIZE 256 /* Buffer size for Console output */ -#define CONFIG_SYS_BARGSIZE 512 /* 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/sh7785lcr.h b/include/configs/sh7785lcr.h index 8ad83d8..f77e47a 100644 --- a/include/configs/sh7785lcr.h +++ b/include/configs/sh7785lcr.h @@ -41,7 +41,6 @@ #define CONFIG_SYS_LONGHELP #define CONFIG_SYS_PBSIZE 256 -#define CONFIG_SYS_BARGSIZE 512 #define CONFIG_SYS_BAUDRATE_TABLE { 115200 } /* SCIF */ diff --git a/include/configs/shmin.h b/include/configs/shmin.h index c5eacc6..1a69303 100644 --- a/include/configs/shmin.h +++ b/include/configs/shmin.h @@ -29,8 +29,6 @@ #define CONFIG_SYS_TEXT_BASE 0x8DFB0000 #define CONFIG_SYS_LONGHELP /* undef to save memory */ #define CONFIG_SYS_PBSIZE 256 /* Buffer size for Console output */ -/* Buffer size for Boot Arguments passed to kernel */ -#define CONFIG_SYS_BARGSIZE 512 /* List of legal baudrate settings for this board */ #define CONFIG_SYS_BAUDRATE_TABLE { 9600,14400,19200,38400,57600,115200 }