From 68c8d11ebac1a1b7851f0fd77eb6bab8e9cedf28 Mon Sep 17 00:00:00 2001 From: Suresh Vankadara Date: Wed, 21 Aug 2019 11:32:15 +0530 Subject: [PATCH] msm: camera: config: Add support for BENGAL target Add camera config support for BENGAL target. CRs-Fixed: 2531589 Change-Id: Ie0afa4acdcdcde2286a56f802b4f8246e711503f Signed-off-by: Suresh Vankadara --- Makefile | 9 +++++++++ config/bengalcamera.conf | 4 ++++ config/bengalcameraconf.h | 7 +++++++ 3 files changed, 20 insertions(+) create mode 100644 config/bengalcamera.conf create mode 100644 config/bengalcameraconf.h diff --git a/Makefile b/Makefile index b7c0d7853cc7..9e0b13785b58 100644 --- a/Makefile +++ b/Makefile @@ -9,6 +9,10 @@ ifeq ($(CONFIG_ARCH_LITO), y) include $(srctree)/techpack/camera/config/litocamera.conf endif +ifeq ($(CONFIG_ARCH_BENGAL), y) +include $(srctree)/techpack/camera/config/bengalcamera.conf +endif + ifeq ($(CONFIG_ARCH_KONA), y) LINUXINCLUDE += \ -include $(srctree)/techpack/camera/config/konacameraconf.h @@ -19,6 +23,11 @@ LINUXINCLUDE += \ -include $(srctree)/techpack/camera/config/litocameraconf.h endif +ifeq ($(CONFIG_ARCH_BENGAL), y) +LINUXINCLUDE += \ + -include $(srctree)/techpack/camera/config/bengalcameraconf.h +endif + ifdef CONFIG_SPECTRA_CAMERA # Use USERINCLUDE when you must reference the UAPI directories only. USERINCLUDE += \ diff --git a/config/bengalcamera.conf b/config/bengalcamera.conf new file mode 100644 index 000000000000..451723eebce3 --- /dev/null +++ b/config/bengalcamera.conf @@ -0,0 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0-only +# Copyright (c) 2019, The Linux Foundation. All rights reserved. + +export CONFIG_SPECTRA_CAMERA=y diff --git a/config/bengalcameraconf.h b/config/bengalcameraconf.h new file mode 100644 index 000000000000..1a7714018004 --- /dev/null +++ b/config/bengalcameraconf.h @@ -0,0 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * Copyright (c) 2019, The Linux Foundation. All rights reserved. + */ + +#define CONFIG_SPECTRA_CAMERA 1 +