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 uint8_t ram_channels; 14 }; 15 16 void read_tlv_data(struct tlv_data *td); 17 bool sr_product_is(const struct tlv_data *td, const char *product); 18 19 #endif /* __BOARD_SR_COMMON_H_ */ 20