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>
This commit is contained in:
Yu-Ping Wu
2020-09-07 17:24:26 +08:00
committed by Patrick Georgi
parent f580d9ffef
commit e68ef7d75c
4 changed files with 74 additions and 0 deletions

View File

@@ -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.