Hi Patrick, On Fri, 6 Nov 2020 at 10:55, Patrick Delaunay <patrick.delau...@st.com> wrote: > > Update _log function to drop any traces when log is yet initialized: > vsnprintf is no more executed in this case. > > This patch allows to reduce the cost for the dropped early debug trace. > > Signed-off-by: Patrick Delaunay <patrick.delau...@st.com> > --- > > common/log.c | 13 ++++++++----- > 1 file changed, 8 insertions(+), 5 deletions(-)
Reviewed-by: Simon Glass <s...@chromium.org> But this needs a test.