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