1config PHYTEC_SOM_DETECTION
2	bool "Support SoM detection for PHYTEC platforms"
3	select SPL_CRC8 if SPL
4	help
5	   Support of I2C EEPROM based SoM detection.
6
7config PHYTEC_SOM_DETECTION_BLOCKS
8	bool "Extend SoM detection with block support"
9	depends on PHYTEC_SOM_DETECTION
10	help
11	   Extend the I2C EEPROM based SoM detection with API v3. This API
12	   introduces blocks with different payloads.
13
14config PHYTEC_IMX8M_SOM_DETECTION
15	bool "Support SoM detection for i.MX8M PHYTEC platforms"
16	depends on ARCH_IMX8M && PHYTEC_SOM_DETECTION
17	default y
18	help
19	  Support of I2C EEPROM based SoM detection. Supported
20	  for PHYTEC i.MX8MM/i.MX8MP boards
21
22config PHYTEC_IMX93_SOM_DETECTION
23	bool "Support SoM detection for i.MX93 PHYTEC platforms"
24	depends on ARCH_IMX9 && PHYTEC_SOM_DETECTION
25	default y
26	help
27	  Support of I2C EEPROM based SoM detection. Supported
28	  for PHYTEC i.MX93 based boards
29
30config PHYTEC_AM62_SOM_DETECTION
31	bool "Support SoM detection for AM62x PHYTEC platforms"
32	depends on (TARGET_PHYCORE_AM62X_A53 || TARGET_PHYCORE_AM62X_R5) && \
33		   PHYTEC_SOM_DETECTION
34	select PHYTEC_SOM_DETECTION_BLOCKS
35	depends on SPL_I2C && DM_I2C
36	default y
37	help
38	   Support of I2C EEPROM based SoM detection. Supported
39	   for PHYTEC AM62x boards.
40
41config PHYTEC_AM62A_SOM_DETECTION
42	bool "Support SoM detection for AM62Ax PHYTEC platforms"
43	depends on (TARGET_PHYCORE_AM62AX_A53 || TARGET_PHYCORE_AM62AX_R5) && \
44		   PHYTEC_SOM_DETECTION
45	select SUPPORT_EXTENSION_SCAN
46	depends on SPL_I2C && DM_I2C
47	default y
48	help
49	   Support of I2C EEPROM based SoM detection. Supported
50	   for PHYTEC AM62Ax boards.
51
52config PHYTEC_AM64_SOM_DETECTION
53	bool "Support SoM detection for AM64x PHYTEC platforms"
54	depends on (TARGET_PHYCORE_AM64X_A53 || TARGET_PHYCORE_AM64X_R5) && \
55		   PHYTEC_SOM_DETECTION
56	select PHYTEC_SOM_DETECTION_BLOCKS
57	depends on SPL_I2C && DM_I2C
58	default y
59	help
60	   Support of I2C EEPROM based SoM detection. Supported
61	   for PHYTEC AM64x boards.
62