]> git.dujemihanovic.xyz Git - u-boot.git/commit
video: add guards around 16bpp/32bbp code
authorAnatolij Gustschin <agust@denx.de>
Wed, 4 Dec 2019 15:18:39 +0000 (16:18 +0100)
committerAnatolij Gustschin <agust@denx.de>
Fri, 6 Dec 2019 15:37:45 +0000 (16:37 +0100)
commitca5655d8006cfbaa4ff8ff450e4a5931e57fe050
tree81d782c87b7fba2052b9e300c62cf0f34070c17c
parentca2c6945b9e158716138b9d138c72676e719bd8e
video: add guards around 16bpp/32bbp code

Many boards use only single depth configuration, for such boards
there is some unused code in video and console uclass routines.
Add guards to avoid dead code.

Signed-off-by: Anatolij Gustschin <agust@denx.de>
Tested-by: Eugen Hristev <eugen.hristev@microchip.com>
Tested-by: Patrice Chotard <patrice.chotard@st.com>
Tested-by: Steffen Dirkwinkel <s.dirkwinkel@beckhoff.com>
drivers/video/vidconsole-uclass.c
drivers/video/video-uclass.c