1 /* SPDX-License-Identifier: GPL-2.0+ */
3 * Copyright (c) 2016 Toradex, Inc.
6 #ifndef _TDX_CFG_BLOCK_H
7 #define _TDX_CFG_BLOCK_H
9 #include "tdx-common.h"
18 struct toradex_eth_addr {
21 } __attribute__((__packed__));
24 COLIBRI_PXA270_V1_312MHZ = 1,
25 COLIBRI_PXA270_V1_520MHZ,
31 COLIBRI_PXA270_312MHZ,
32 COLIBRI_PXA270_520MHZ,
33 COLIBRI_VF50, /* not currently on sale */
41 COLIBRI_T20_256MB = 20,
58 APALIS_IMX8QM, /* 37 */
61 COLIBRI_IMX6ULL_WIFI_BT_IT, /* 40 */
66 extern const char * const toradex_modules[];
67 extern bool valid_cfgblock;
68 extern struct toradex_hw tdx_hw_tag;
69 extern struct toradex_eth_addr tdx_eth_addr;
70 extern u32 tdx_serial;
72 int read_tdx_cfg_block(void);
74 #endif /* _TDX_CFG_BLOCK_H */