2 * Copyright (c) 2016 Toradex, Inc.
4 * SPDX-License-Identifier: GPL-2.0+
7 #ifndef _TDX_CFG_BLOCK_H
8 #define _TDX_CFG_BLOCK_H
10 #include "tdx-common.h"
19 struct toradex_eth_addr {
22 } __attribute__((__packed__));
25 COLIBRI_PXA270_V1_312MHZ = 1,
26 COLIBRI_PXA270_V1_520MHZ,
32 COLIBRI_PXA270_312MHZ,
33 COLIBRI_PXA270_520MHZ,
34 COLIBRI_VF50, /* not currently on sale */
42 COLIBRI_T20_256MB = 20,
60 extern const char * const toradex_modules[];
61 extern bool valid_cfgblock;
62 extern struct toradex_hw tdx_hw_tag;
63 extern struct toradex_eth_addr tdx_eth_addr;
64 extern u32 tdx_serial;
66 int read_tdx_cfg_block(void);
68 #endif /* _TDX_CFG_BLOCK_H */