]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
console: Use pre-console buffer to get complete log on all consoles
authorSiarhei Siamashka <siarhei.siamashka@gmail.com>
Thu, 8 Jan 2015 07:02:31 +0000 (09:02 +0200)
committerHans de Goede <hdegoede@redhat.com>
Wed, 14 Jan 2015 13:56:40 +0000 (14:56 +0100)
commit27669667504de3456fd7768c76a7d1837bf37d6e
tree93c9272ca89c3eeb13fd4dfc21a7fccd2f4cece6
parent05c4bd3ec3c99578ee7f1614a546efefc8b362cc
console: Use pre-console buffer to get complete log on all consoles

Currently the pre-console buffer can accumulate early log messages
and flush them to the serial console as soon as it becomes available.

This patch just adds one more pre-console buffer flushing point and
does all the same for the other consoles too. This is particularly
useful for the vga/hdmi/lcd console, where we can see all the older
messages now (except for the log messages from SPL).

Naturally, we don't want to get an extra copy of the log messages
on the serial console again at the second flushing point, so the
serial console has to be explicitly filtered out.

Signed-off-by: Siarhei Siamashka <siarhei.siamashka@gmail.com>
Acked-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Tom Rini <trini@ti.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
common/console.c