summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Hahn <B.Hahn@phytec.de>2024-03-12 10:39:11 +0100
committerFabio Estevam <festevam@gmail.com>2024-03-17 17:59:11 -0300
commite1897784aa9e8dec30ad1067c1107dbd287e5024 (patch)
treecab0401a119049d0fec7a0eb4a95e4b033cd6ba0
parent86fd291a7990af84e96808f48eff2219dd4ef496 (diff)
downloadu-boot-e1897784aa9e8dec30ad1067c1107dbd287e5024.tar.gz
u-boot-e1897784aa9e8dec30ad1067c1107dbd287e5024.tar.bz2
u-boot-e1897784aa9e8dec30ad1067c1107dbd287e5024.zip
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>
-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 f9607b018d..a56e0f60d6 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) */