Re: [PATCH] board: phytec: define get_som_type also when SoM detection is disabled

2024-03-17 Thread Fabio Estevam
On Tue, Mar 12, 2024 at 6:39 AM Benjamin Hahn  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 

Applied for u-boot-imx/master, thanks.


[PATCH] board: phytec: define get_som_type also when SoM detection is disabled

2024-03-12 Thread Benjamin Hahn
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 
---
 board/phytec/common/phytec_som_detection.c | 5 +
 1 file changed, 5 insertions(+)

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) */

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

Best regards,
-- 
Benjamin Hahn