Baruch Siach | 4417ff2 | 2020-01-20 14:20:11 +0200 | [diff] [blame] | 1 | /* 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 | |||||
9 | struct 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 | |||||
15 | void read_tlv_data(struct tlv_data *td); | ||||
16 | bool sr_product_is(const struct tlv_data *td, const char *product); | ||||
17 | |||||
18 | #endif /* __BOARD_SR_COMMON_H_ */ |