summaryrefslogtreecommitdiff
path: root/src/drivers/camera/Kconfig
diff options
context:
space:
mode:
authorYu-Ping Wu <yupingso@chromium.org>2020-09-07 17:24:26 +0800
committerPatrick Georgi <pgeorgi@google.com>2020-10-19 06:50:20 +0000
commite68ef7d75ca82f08dabe5848e816800462a66806 (patch)
tree99acf6903c75753719caef237ae8806a46053777 /src/drivers/camera/Kconfig
parentf580d9ffef93243509e84d558e42a8722d0ad6e7 (diff)
drivers/camera: Add config CHROMEOS_CAMERA
Add cros_camera_info struct for camera information, and check_cros_camera_info() for checking the magic, CRC and version. BUG=b:144820097 TEST=emerge-kukui coreboot BRANCH=kukui Change-Id: I1215fec76643b0cf7e09433e1190e8bd387e6953 Signed-off-by: Yu-Ping Wu <yupingso@chromium.org> Reviewed-on: https://review.coreboot.org/c/coreboot/+/46042 Reviewed-by: Hung-Te Lin <hungte@chromium.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/drivers/camera/Kconfig')
-rw-r--r--src/drivers/camera/Kconfig7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/drivers/camera/Kconfig b/src/drivers/camera/Kconfig
new file mode 100644
index 0000000000..1c0c0a3634
--- /dev/null
+++ b/src/drivers/camera/Kconfig
@@ -0,0 +1,7 @@
+config CHROMEOS_CAMERA
+ bool
+ default n
+ help
+ Camera with identifiers following Chrome OS Camera Info. The info is
+ usually available on MIPI camera EEPROM for identifying correct
+ drivers and config.