msm: vidc: Add config files for holi

Add video config files for holi to enable
the video driver for holi target

CRs-Fixed: 2684474
Change-Id: I7aaf47f2616300665bfe155aface8aa5ed9e4d6e
This commit is contained in:
Manikanta Kanamarlapudi 2020-05-14 22:51:15 +05:30 committed by Gerrit - the friendly Code Review server
parent 930011097f
commit 9ea86bc34d
3 changed files with 20 additions and 0 deletions

View File

@ -7,6 +7,15 @@ include $(srctree)/techpack/video/config/konavid.conf
LINUXINCLUDE += -include $(srctree)/techpack/video/config/konavidconf.h
endif
# auto-detect subdirs
ifeq ($(CONFIG_ARCH_HOLI), y)
include $(srctree)/techpack/video/config/holivid.conf
endif
ifeq ($(CONFIG_ARCH_HOLI), y)
LINUXINCLUDE += -include $(srctree)/techpack/video/config/holividconf.h
endif
# auto-detect subdirs
ifeq ($(CONFIG_ARCH_LITO), y)
include $(srctree)/techpack/video/config/litovid.conf

5
config/holivid.conf Normal file
View File

@ -0,0 +1,5 @@
ifeq ($(CONFIG_QGKI),y)
export CONFIG_MSM_VIDC_V4L2=y
else
export CONFIG_MSM_VIDC_V4L2=m
endif

6
config/holividconf.h Normal file
View File

@ -0,0 +1,6 @@
/* SPDX-License-Identifier: GPL-2.0-only */
/*
* Copyright (c) 2020, The Linux Foundation. All rights reserved.
*/
#define CONFIG_MSM_VIDC_V4L2 1