[PATCH v7 05/10] video console: move vidconsole_get_font_size() logic to driver ops

Simon Glass sjg at chromium.org
Tue Feb 28 01:35:30 CET 2023


On Mon, 27 Feb 2023 at 10:37, Dzmitry Sankouski <dsankouski at gmail.com> wrote:
>
> Since multiple vidconsole drivers exists, vidconsole_get_font_size()
> implementation cannot longer live in vidconsole_uclass.c file.
>
> Move current vidconsole_get_font_size logic to truetype driver ops.
>
> Signed-off-by: Dzmitry Sankouski <dsankouski at gmail.com>
> ---
> Changes for v2: N/A
> Changes for v3: N/A
> Charges for v4: N/A
> Charges for v5: N/A
> Charges for v6: N/A
> Charges for v7: N/A
>
>  cmd/font.c                        |  6 +++++-
>  drivers/video/console_truetype.c  |  3 ++-
>  drivers/video/vidconsole-uclass.c | 11 +++++++++++
>  include/video_console.h           | 14 ++++++++++++--
>  test/cmd/font.c                   | 13 +++++++------
>  5 files changed, 37 insertions(+), 10 deletions(-)

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list