]> git.baikalelectronics.ru Git - uboot.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)
commit48326cc114ca1a7b7b9160f41f0f628a5a5e8baf
tree23d340e4bcb78c45250ef19ef685dfca8450f229
parent07777447dd554420dcfe011802313699dec16e70
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