video: Add commands to list and change fonts
authorSimon Glass <sjg@chromium.org>
Thu, 6 Oct 2022 14:36:16 +0000 (08:36 -0600)
committerAnatolij Gustschin <agust@denx.de>
Sun, 30 Oct 2022 19:01:40 +0000 (20:01 +0100)
commit430e1676a76bf8b7112c64e19cf64b988c281ee0
tree97d40e3ae1f3305177622818c23d7195b3370e22
parent3f425f9ca75c8d1938579044fde37a6f7d5abe16
video: Add commands to list and change fonts

Add a new 'font' command which allows the fonts to be listed as well as
selecting a different font and size.

Allow the test to run on sandbox, where multiple font/size combinations
are supported, as well as sandbox_flattree, where they are not.

Signed-off-by: Simon Glass <sjg@chromium.org>
cmd/Makefile
cmd/font.c [new file with mode: 0644]
configs/sandbox_defconfig
doc/usage/cmd/font.rst [new file with mode: 0644]
doc/usage/index.rst
drivers/video/console_truetype.c
include/test/suites.h
include/video_console.h
test/cmd/Makefile
test/cmd/font.c [new file with mode: 0644]
test/cmd_ut.c