u-boot/board/phytec/common
Primoz Fiser 4c0d377858 board: phytec: common: Fix phytec_get_product_name()
Currently, phytec_get_product_name() function only takes care of PCM
SoM type, however in case of PCL, KSM or KSP SoM type it will return
error:

  phytec_get_product_name: Invalid SOM type

Add support for other SoM types as defined in phytec_som_type_str enum
(see phytec_som_detection.h) to get rid of the error.

While at it, also simplify switch case statements by grouping them
together. This makes it more concise and readable.

Signed-off-by: Primoz Fiser <primoz.fiser@norik.com>
Reviewed-by: Daniel Schultz <d.schultz@phytec.de>
2025-04-15 11:55:17 -06:00
..
k3 board: remove capsule update support in set_dfu_alt_info() 2025-04-11 13:20:37 +02:00
am6_som_detection.c board: phytec: common: Add phyCORE-AM62Ax 2025-03-18 08:12:53 -06:00
am6_som_detection.h board: phytec: common: Add phyCORE-AM62Ax 2025-03-18 08:12:53 -06:00
imx8m_som_detection.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
imx8m_som_detection.h board: phytec: som_detection: move definitions to source file 2023-12-20 15:04:46 -03:00
imx93_som_detection.c board: phytec: imx93: Add eeprom-based hardware introspection 2024-11-25 23:08:02 -03:00
imx93_som_detection.h board: phytec: imx93: Add eeprom-based hardware introspection 2024-11-25 23:08:02 -03:00
Kconfig board: phytec: common: Add phyCORE-AM62Ax 2025-03-18 08:12:53 -06:00
Makefile board: phytec: imx93: Add eeprom-based hardware introspection 2024-11-25 23:08:02 -03:00
phytec_som_detection_blocks.c board: phytec: common: Add API v3 2024-06-07 14:01:53 -06:00
phytec_som_detection_blocks.h board: phytec: common: Add API v3 2024-06-07 14:01:53 -06:00
phytec_som_detection.c board: phytec: common: Fix phytec_get_product_name() 2025-04-15 11:55:17 -06:00
phytec_som_detection.h board: phytec: common: Add product information to FTD 2025-01-31 11:08:04 -06:00