board: phytec: common: phytec_som_detection: Add phytec_get_som_type
authorBenjamin Hahn <B.Hahn@phytec.de>
Wed, 6 Mar 2024 16:18:31 +0000 (17:18 +0100)
committerFabio Estevam <festevam@gmail.com>
Mon, 11 Mar 2024 11:42:44 +0000 (08:42 -0300)
commit110d321a56c3ea1824104ea6148efe040adf995d
tree060eddb3bb5651f8976691098150424f4e2d648c
parent0981f8900f2b1f45a3f282b704012b5374fdd7a6
board: phytec: common: phytec_som_detection: Add phytec_get_som_type

Add a function that gets the som_type from the EEPROM.
Add an enum for the som_type.

Signed-off-by: Benjamin Hahn <B.Hahn@phytec.de>
board/phytec/common/phytec_som_detection.c
board/phytec/common/phytec_som_detection.h