
26 Sep
2017
26 Sep
'17
9:10 p.m.
Hi Bin,
On 17 September 2017 at 23:45, Bin Meng bmeng.cn@gmail.com wrote:
On Sun, Sep 17, 2017 at 5:23 AM, Simon Glass sjg@chromium.org wrote:
It is useful to display log messages on the console. Add a simple driver to handle this.
Signed-off-by: Simon Glass sjg@chromium.org
common/Kconfig | 20 ++++++++++++++++++++ common/Makefile | 1 + common/log_console.c | 23 +++++++++++++++++++++++ 3 files changed, 44 insertions(+) create mode 100644 common/log_console.c
Reviewed-by: Bin Meng bmeng.cn@gmail.com
But isn't it possible to get this stuff into the serial-uclass driver?
It could do but then it would not be the console. The console is controlled by stdout and might be set to output to an LCD, or perhaps both LCD and serial.
Regards, Simon