]> git.dujemihanovic.xyz Git - u-boot.git/commit
video: Tidy up the check for valid fonts
authorSimon Glass <sjg@chromium.org>
Thu, 6 Oct 2022 14:36:10 +0000 (08:36 -0600)
committerAnatolij Gustschin <agust@denx.de>
Sun, 30 Oct 2022 19:01:40 +0000 (20:01 +0100)
commit5330612f219bcd98f99b977a1fdec51c6b265ad2
tree23d340e4bcb78c45250ef19ef685dfca8450f229
parent0d3890188d6bcaf7172678d2e5e803035e85dc8d
video: Tidy up the check for valid fonts

Put this check into a function so we can use it elsewhere. Also drop the
macros which do the same thing but are not actually used.

Signed-off-by: Simon Glass <sjg@chromium.org>
drivers/video/console_truetype.c