]> git.baikalelectronics.ru Git - uboot.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)
commita64bce08c9050c2d4cd3b48fcfdeb6bc44c12bd8
tree2b04517a6f10d8c7cbc51aab0b586aa1fdccb060
parent83548986602ea4b079ff09c69e5b23e57e61594f
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