From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Thu, 24 Aug 2017 21:12:33 -0400 Subject: [U-Boot] [PATCH 1/8] include/config_fallbacks.h: add default for CONFIG_SYS_CBSIZE In-Reply-To: <20170823205906.20933-2-thomas.petazzoni@free-electrons.com> References: <20170823205906.20933-1-thomas.petazzoni@free-electrons.com> <20170823205906.20933-2-thomas.petazzoni@free-electrons.com> Message-ID: <20170825011233.GI2827@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Wed, Aug 23, 2017 at 10:58:59PM +0200, Thomas Petazzoni wrote: > CONFIG_SYS_CBSIZE contains the buffer size for input for the > console. The vast majority of platforms define them to some reasonable > value (256, 512 or 1024 bytes), and it is quite annoying to repeat > this definition for all platforms while it isn't really HW-related. > > Therefore, let's provide a sane fallback value in config_fallbacks.h, > so that platforms can rely on it instead of having to explicitly > define it. > > We use 1024 when KGDB is enabled, and 256 otherwise, which is what the > majority of the platforms are doing. > > Signed-off-by: Thomas Petazzoni Reviewed-by: Tom Rini -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: