[U-Boot] [PATCH v2 03/14] dm: video: Add a uclass for the text console

Simon Glass sjg at chromium.org
Thu Jan 21 16:18:50 CET 2016


On 18 January 2016 at 19:52, Simon Glass <sjg at chromium.org> wrote:
> The existing LCD/video interface suffers from conflating the bitmap display
> with text output on that display. As a result the implementation is more
> complex than it needs to me.
>
> We can support multiple text console drivers. Create a separate uclass to
> support this, with its own API.
>
> Signed-off-by: Simon Glass <sjg at chromium.org>
> Acked-by: Anatolij Gustschin <agust at denx.de>
> ---
>
> Changes in v2:
> - Fix reference to \n which should be \b
> - Fix 'withthe' typo in comment
>
>  drivers/video/Makefile            |   2 +-
>  drivers/video/vidconsole-uclass.c | 239 ++++++++++++++++++++++++++++++++++++++
>  drivers/video/video-uclass.c      |  21 ++++
>  include/dm/uclass-id.h            |   1 +
>  include/video_console.h           | 136 ++++++++++++++++++++++
>  5 files changed, 398 insertions(+), 1 deletion(-)
>  create mode 100644 drivers/video/vidconsole-uclass.c
>  create mode 100644 include/video_console.h

Applied to u-boot-dm


More information about the U-Boot mailing list