coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
cros_camera.c File Reference
#include <console/console.h>
#include <crc_byte.h>
#include <string.h>
#include "cros_camera.h"
Include dependency graph for cros_camera.c:

Go to the source code of this file.

Functions

int check_cros_camera_info (const struct cros_camera_info *info)
 

Function Documentation

◆ check_cros_camera_info()

int check_cros_camera_info ( const struct cros_camera_info info)

Definition at line 9 of file cros_camera.c.

References BIOS_ERR, cros_camera_info::crc16, crc16_byte(), CROS_CAMERA_INFO_MAGIC, CROS_CAMERA_INFO_SIZE_MIN, CROS_CAMERA_INFO_VERSION, info, memcmp(), and printk.

Referenced by wfc_id().

Here is the call graph for this function:
Here is the caller graph for this function: