techpack: camera: Haydn is special
Change-Id: I8f75769da498aebdcd79c44ba521a3ce5927a993
This commit is contained in:
parent
f1c63607d6
commit
54789f8c2a
@ -92,6 +92,11 @@ LINUXINCLUDE += \
|
|||||||
-include $(srctree)/techpack/camera/config/sm6150cameraconf.h
|
-include $(srctree)/techpack/camera/config/sm6150cameraconf.h
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifeq ($(TARGET_PRODUCT), haydn)
|
||||||
|
LINUXINCLUDE += \
|
||||||
|
-include $(srctree)/techpack/camera/config/haydncameraconf.h
|
||||||
|
endif
|
||||||
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifneq (,$(filter $(CONFIG_SPECTRA_CAMERA), y m))
|
ifneq (,$(filter $(CONFIG_SPECTRA_CAMERA), y m))
|
||||||
|
1
techpack/camera/config/haydncameraconf.h
Normal file
1
techpack/camera/config/haydncameraconf.h
Normal file
@ -0,0 +1 @@
|
|||||||
|
#define TARGET_PRODUCT_HAYDN 1
|
@ -43,7 +43,11 @@
|
|||||||
* It includes both session and device handles
|
* It includes both session and device handles
|
||||||
*/
|
*/
|
||||||
#define CAM_REQ_MGR_MAX_HANDLES 64
|
#define CAM_REQ_MGR_MAX_HANDLES 64
|
||||||
|
#ifdef TARGET_PRODUCT_HAYDN
|
||||||
|
#define CAM_REQ_MGR_MAX_HANDLES_V2 192
|
||||||
|
#else
|
||||||
#define CAM_REQ_MGR_MAX_HANDLES_V2 256
|
#define CAM_REQ_MGR_MAX_HANDLES_V2 256
|
||||||
|
#endif
|
||||||
#define MAX_LINKS_PER_SESSION 2
|
#define MAX_LINKS_PER_SESSION 2
|
||||||
|
|
||||||
/* V4L event type which user space will subscribe to */
|
/* V4L event type which user space will subscribe to */
|
||||||
|
Loading…
Reference in New Issue
Block a user