1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 /*
3  * Copyright (C) 2023 PHYTEC Messtechnik GmbH
4  * Author: Teresa Remmet <t.remmet@phytec.de>
5  */
6 
7 #ifndef _PHYTEC_IMX8M_SOM_DETECTION_H
8 #define _PHYTEC_IMX8M_SOM_DETECTION_H
9 
10 #include "phytec_som_detection.h"
11 
12 #define PHYTEC_IMX8MQ_SOM       66
13 #define PHYTEC_IMX8MM_SOM       69
14 #define PHYTEC_IMX8MP_SOM       70
15 
16 int __maybe_unused phytec_imx8m_detect(struct phytec_eeprom_data *data);
17 u8 __maybe_unused phytec_get_imx8m_ddr_size(struct phytec_eeprom_data *data);
18 u8 __maybe_unused phytec_get_imx8mp_rtc(struct phytec_eeprom_data *data);
19 u8 __maybe_unused phytec_get_imx8m_spi(struct phytec_eeprom_data *data);
20 u8 __maybe_unused phytec_get_imx8m_eth(struct phytec_eeprom_data *data);
21 
22 #endif /* _PHYTEC_IMX8M_SOM_DETECTION_H */
23