Hi Bin, On 17 September 2017 at 23:45, Bin Meng <bmeng...@gmail.com> wrote: > On Sun, Sep 17, 2017 at 5:23 AM, Simon Glass <s...@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 <s...@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...@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 _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot