drivers: video: tidss: Makefile: Add condition to compile TIDSS at SPL
authorNikhil M Jain <n-jain1@ti.com>
Thu, 20 Apr 2023 12:11:03 +0000 (17:41 +0530)
committerAnatolij Gustschin <agust@denx.de>
Mon, 24 Apr 2023 19:37:45 +0000 (21:37 +0200)
commit2e72e4ec847bd81b4f30d6641efb70c3b422ac7b
tree34696bd0b12a12c391711cd6d36cd5174902fdff
parent35ca2e4fa21187b13e6ab323ac5782292f52a634
drivers: video: tidss: Makefile: Add condition to compile TIDSS at SPL

To enable TIDSS driver only at SPL stage add rule to compile the TIDSS
video driver.

CONFIG_$(SPL_)VIDEO_TIDSS will compile tidss_drv, at SPL only if
CONFIG_SPL_VIDEO_TIDSS is defined and at u-boot proper if
CONFIG_VIDEO_TIDSS is defined.

Signed-off-by: Nikhil M Jain <n-jain1@ti.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
drivers/video/Makefile
drivers/video/tidss/Makefile