From: Tom Rini Date: Wed, 7 Aug 2019 23:16:40 -0400 Subject: [U-Boot] [PATCH 2/2] console: execute flush on uart when silent is removed In-Reply-To: <20190802125810.9808-3-patrice.chotard@st.com> References: <20190802125810.9808-1-patrice.chotard@st.com> <20190802125810.9808-3-patrice.chotard@st.com> Message-ID: <20190808031640.GE9594@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 Fri, Aug 02, 2019 at 02:58:10PM +0200, Patrice Chotard wrote: > From: Patrick Delaunay > > Avoid to flush buffer when silent console is activated as the > console can be reactivate later, after relocation, when the env will > be updated with the saved one. > > Solve issue (missing beginning of U-Boot trace) when: > - CONFIG_SILENT_CONSOLE is activated > - silent=1 is defined in default environment (CONFIG_EXTRA_ENV_SETTINGS) > - silent is removed in saved environment with: > > env delete silent; env save > > Only functional when PRE_CONSOLE_BUFFER is activated. > > Signed-off-by: Patrick Delaunay > Signed-off-by: Patrice Chotard Applied to u-boot/master, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: