blob: a1432e4b8e1d44576dd3d372387a2506c972d2c3 [file] [log] [blame]
Baruch Siacha2e41ad2020-01-20 14:20:11 +02001/* SPDX-License-Identifier: GPL-2.0+ */
2/*
3 * Copyright 2020 SolidRun
4 */
5
6#ifndef __BOARD_SR_COMMON_H_
7#define __BOARD_SR_COMMON_H_
8
9struct tlv_data {
10 /* Store product name of both SOM and carrier */
11 char tlv_product_name[2][32];
12 unsigned int ram_size;
13};
14
15void read_tlv_data(struct tlv_data *td);
16bool sr_product_is(const struct tlv_data *td, const char *product);
17
18#endif /* __BOARD_SR_COMMON_H_ */