aboutsummaryrefslogtreecommitdiff
path: root/board/phytec
diff options
context:
space:
mode:
authorBenjamin Hahn2024-03-12 10:39:11 +0100
committerFabio Estevam2024-03-17 17:59:11 -0300
commite1897784aa9e8dec30ad1067c1107dbd287e5024 (patch)
treecab0401a119049d0fec7a0eb4a95e4b033cd6ba0 /board/phytec
parent86fd291a7990af84e96808f48eff2219dd4ef496 (diff)
board: phytec: define get_som_type also when SoM detection is disabled
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>
Diffstat (limited to 'board/phytec')
-rw-r--r--board/phytec/common/phytec_som_detection.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/board/phytec/common/phytec_som_detection.c b/board/phytec/common/phytec_som_detection.c
index f9607b018de..a56e0f60d62 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) */