]> git.dujemihanovic.xyz Git - u-boot.git/commit
video: Avoid using #ifdef in video blitting code
authorSimon Glass <sjg@chromium.org>
Sat, 21 Dec 2019 01:10:34 +0000 (18:10 -0700)
committerAnatolij Gustschin <agust@denx.de>
Thu, 2 Jan 2020 15:25:25 +0000 (16:25 +0100)
commit46421197d51df7f050e9b0bdcd3edd0df3eaaf35
tree720d990438f8ddb5246fc9e6d964f0adeedd8f6c
parent512563ba0b97ab3546d7c43211d158f1f50f38ad
video: Avoid using #ifdef in video blitting code

This code does not really need to use #ifdef. We can use if() instead and
gain build coverage without impacting code size.

Change the #ifdefs to use IS_ENABLED() instead.

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