]> git.dujemihanovic.xyz Git - u-boot.git/commit
console: allow to record console output before ready
authorPatrick Delaunay <patrick.delaunay@st.com>
Fri, 27 Nov 2020 10:20:57 +0000 (11:20 +0100)
committerTom Rini <trini@konsulko.com>
Fri, 15 Jan 2021 19:36:11 +0000 (14:36 -0500)
commitbf80edb91a9b7d61621c1413c15495348f8f0fcc
tree2b04517a6f10d8c7cbc51aab0b586aa1fdccb060
parent93cdb52b2a06bf5fb2ea02db28a95b5524ab1e6e
console: allow to record console output before ready

Allow to record the console output before before U-Boot
has a console ready.

This patch allows to test the console output in sandbox test
based on console record.

It is possible because GD_FLG_RECORD and GD_FLG_SERIAL_READY
are 2 independent flags.

Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
common/console.c