diff options
author | Julius Werner <jwerner@chromium.org> | 2022-03-01 17:53:40 -0800 |
---|---|---|
committer | Raul Rangel <rrangel@chromium.org> | 2022-03-04 16:04:10 +0000 |
commit | 2c423441c054d7a8c93cc814b9db5f8f7185bd0f (patch) | |
tree | daf4789dbb0d3e95328ee8ad22ddff6d8ed72ca3 /src/soc/amd/common/block/iommu | |
parent | 872c34a57f5a198c2fb2e1c5c82b0ebbccf27b97 (diff) |
libpayload: cbmem_console: Drop loglevel markers from snapshot
coreboot recently introduced non-printable loglevel markers in the CBMEM
console. Payloads were generally unaffected since they don't use log
levels and it is still legal to append lines without a marker to the
log. However, payloads using cbmem_console_snapshot() to display
existing logs from coreboot have started seeing '?' characters in place
of the markers. This patch fixes the issue by filtering out marker
characters.
BUG=b:221909874
Signed-off-by: Julius Werner <jwerner@chromium.org>
Change-Id: I4a9e5d464508320cf43ea572d62896d38c2a128d
Reviewed-on: https://review.coreboot.org/c/coreboot/+/62506
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Raul Rangel <rrangel@chromium.org>
Diffstat (limited to 'src/soc/amd/common/block/iommu')
0 files changed, 0 insertions, 0 deletions