summaryrefslogtreecommitdiff
path: root/tools/u_boot_pylib/gitutil.py
diff options
context:
space:
mode:
authorPrimoz Fiser <primoz.fiser@norik.com>2025-04-08 09:17:10 +0200
committerTom Rini <trini@konsulko.com>2025-04-15 11:55:17 -0600
commit4c0d377858e3ffccd803e4e4177f93347a400436 (patch)
treea41efd1970b182270312d1381c7f014f3a0f8c5c /tools/u_boot_pylib/gitutil.py
parentf9d788d925574109ecf239a16def9450cd4c3ecd (diff)
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>
Diffstat (limited to 'tools/u_boot_pylib/gitutil.py')
0 files changed, 0 insertions, 0 deletions