]> git.baikalelectronics.ru Git - uboot.git/commit
console: Report an error when output buffer is exhausted
authorSimon Glass <sjg@chromium.org>
Sat, 8 May 2021 12:59:56 +0000 (06:59 -0600)
committerTom Rini <trini@konsulko.com>
Tue, 8 Jun 2021 15:39:09 +0000 (11:39 -0400)
commit37d5a7984d439f3140b98538c80172b22db8877b
treedf63c2604df3c23de4872d0b849b10f8c76afdd6
parente89f2d7419037c9cf8baba24442a303d272146e7
console: Report an error when output buffer is exhausted

If the console output buffer is exhausted, characters are silently dropped
from the end. Detect this condition and report an error when reading back
the characters.

Signed-off-by: Simon Glass <sjg@chromium.org>
common/console.c
include/asm-generic/global_data.h
include/console.h
test/ut.c