blob: be3f782ac4acf84d0370e22408990838bb147a1a [file] [log] [blame]
Baruch Siach4417ff22020-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;
Josua Mayere5283662023-10-08 16:58:03 +020013 uint8_t ram_channels;
Baruch Siach4417ff22020-01-20 14:20:11 +020014};
15
16void read_tlv_data(struct tlv_data *td);
17bool sr_product_is(const struct tlv_data *td, const char *product);
18
19#endif /* __BOARD_SR_COMMON_H_ */