]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
board: phytec: define get_som_type also when SoM detection is disabled
authorBenjamin Hahn <B.Hahn@phytec.de>
Tue, 12 Mar 2024 09:39:11 +0000 (10:39 +0100)
committerFabio Estevam <festevam@gmail.com>
Sun, 17 Mar 2024 20:59:11 +0000 (17:59 -0300)
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

index f9607b018dea16a26685b6e735656875e55272f0..a56e0f60d6289a4f2d07ad0ee687f45652b92c6e 100644 (file)
@@ -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) */