summaryrefslogtreecommitdiff
path: root/board/kukui_scp/isp_p1_srv.h
blob: e0abe9e4c8d98ad8b8724366cdb214cff7169043 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/* Copyright 2018 The ChromiumOS Authors
 * Use of this source code is governed by a BSD-style license that can be
 * found in the LICENSE file.
 */

#ifndef __CROS_EC_ISP_P1_SRV_H
#define __CROS_EC_ISP_P1_SRV_H

#include "ipi_chip.h"

struct isp_msg {
	unsigned char id;
	unsigned char msg[140];
};

BUILD_ASSERT(member_size(struct isp_msg, msg) <=
	     CONFIG_IPC_SHARED_OBJ_BUF_SIZE);

/* Functions provided by private overlay. */
void isp_msg_handler(void *data);

#endif /* __CROS_EC_ISP_P1_SRV_H */