mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-01 08:59:33 +00:00
aa7858fe5e
Move all function definitions in {phytec|imx8m}_som_detection from the header to the source file to prevent potential linker error regarding multiple definitions. Also move the #if blocks with the definitions. Signed-off-by: Yannic Moog <y.moog@phytec.de>
22 lines
781 B
C
22 lines
781 B
C
/* SPDX-License-Identifier: GPL-2.0-or-later */
|
|
/*
|
|
* Copyright (C) 2023 PHYTEC Messtechnik GmbH
|
|
* Author: Teresa Remmet <t.remmet@phytec.de>
|
|
*/
|
|
|
|
#ifndef _PHYTEC_IMX8M_SOM_DETECTION_H
|
|
#define _PHYTEC_IMX8M_SOM_DETECTION_H
|
|
|
|
#include "phytec_som_detection.h"
|
|
|
|
#define PHYTEC_IMX8MQ_SOM 66
|
|
#define PHYTEC_IMX8MM_SOM 69
|
|
#define PHYTEC_IMX8MP_SOM 70
|
|
|
|
int __maybe_unused phytec_imx8m_detect(struct phytec_eeprom_data *data);
|
|
u8 __maybe_unused phytec_get_imx8m_ddr_size(struct phytec_eeprom_data *data);
|
|
u8 __maybe_unused phytec_get_imx8mp_rtc(struct phytec_eeprom_data *data);
|
|
u8 __maybe_unused phytec_get_imx8m_spi(struct phytec_eeprom_data *data);
|
|
u8 __maybe_unused phytec_get_imx8m_eth(struct phytec_eeprom_data *data);
|
|
|
|
#endif /* _PHYTEC_IMX8M_SOM_DETECTION_H */
|