diff mbox series

board: phytec: define get_som_type also when SoM detection is disabled

Message ID 20240312-pcl-070-fix-v1-1-38b5b73e137d@phytec.de
State Accepted
Commit e1897784aa9e8dec30ad1067c1107dbd287e5024
Delegated to: Fabio Estevam
Headers show
Series board: phytec: define get_som_type also when SoM detection is disabled | expand

Commit Message

Benjamin Hahn March 12, 2024, 9:39 a.m. UTC
define the phytec_get_som_type function also when the SoM detection is
disabled.

Fixes:
commit 110d321a56c3 ("board: phytec: common: phytec_som_detection: Add phytec_get_som_type")

Signed-off-by: Benjamin Hahn <B.Hahn@phytec.de>
---
 board/phytec/common/phytec_som_detection.c | 5 +++++
 1 file changed, 5 insertions(+)


---
base-commit: f3c979dd0053c082d2df170446923e7ce5edbc2d
change-id: 20240312-pcl-070-fix-b7bd8bd74d5b

Best regards,

Comments

Fabio Estevam March 17, 2024, 11:52 p.m. UTC | #1
On Tue, Mar 12, 2024 at 6:39 AM Benjamin Hahn <B.Hahn@phytec.de> wrote:
>
> define the phytec_get_som_type function also when the SoM detection is
> disabled.
>
> Fixes:
> commit 110d321a56c3 ("board: phytec: common: phytec_som_detection: Add phytec_get_som_type")
>
> Signed-off-by: Benjamin Hahn <B.Hahn@phytec.de>

Applied for u-boot-imx/master, thanks.
diff mbox series

Patch

diff --git a/board/phytec/common/phytec_som_detection.c b/board/phytec/common/phytec_som_detection.c
index f9607b018dea..a56e0f60d628 100644
--- a/board/phytec/common/phytec_som_detection.c
+++ b/board/phytec/common/phytec_som_detection.c
@@ -248,4 +248,9 @@  u8 __maybe_unused phytec_get_rev(struct phytec_eeprom_data *data)
 	return PHYTEC_EEPROM_INVAL;
 }
 
+u8 __maybe_unused phytec_get_som_type(struct phytec_eeprom_data *data)
+{
+	return PHYTEC_EEPROM_INVAL;
+}
+
 #endif /* IS_ENABLED(CONFIG_PHYTEC_SOM_DETECTION) */