From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Sat, 16 Jan 2021 11:21:45 -0500 Subject: [PATCH v2 4/9] log: use console puts to output trace before LOG init In-Reply-To: <20201127112000.v2.4.I01167328d604e359d69c0d241754caeec1f65ebe@changeid> References: <20201127102100.11721-1-patrick.delaunay@st.com> <20201127112000.v2.4.I01167328d604e359d69c0d241754caeec1f65ebe@changeid> Message-ID: <20210116162145.GN9782@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, Nov 27, 2020 at 11:20:54AM +0100, Patrick Delaunay wrote: > Use the console puts functions to output the traces before > the log initialization (when CONFIG_LOG is not activated). > > This patch allows to display the first U-Boot traces > (with macro debug) when CONFIG_DEBUG_UART is activated > and not only drop them. > > For example for traces in board_f.c requested by the macro debug, > when LOG_DEBUG is defined and CONFIG_LOG is activated. > > Signed-off-by: Patrick Delaunay Applied to u-boot/master, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 659 bytes Desc: not available URL: