1if TARGET_PHYCORE_IMX8MP
2
3config SYS_BOARD
4	default "phycore_imx8mp"
5
6config SYS_VENDOR
7	default "phytec"
8
9config SYS_CONFIG_NAME
10	default "phycore_imx8mp"
11
12config IMX_CONFIG
13	default "board/phytec/phycore_imx8mp/imximage-8mp-sd.cfg"
14
15config PHYCORE_IMX8MP_RAM_SIZE_FIX
16	bool "Set phyCORE-i.MX8MP RAM size fix instead of detecting"
17	default false
18	help
19	  RAM size is automatic being detected with the help of
20	  the EEPROM introspection data. Set RAM size to a fix value
21	  instead.
22
23choice
24	prompt "phyCORE-i.MX8MP RAM size"
25	depends on PHYCORE_IMX8MP_RAM_SIZE_FIX
26	default PHYCORE_IMX8MP_RAM_SIZE_2GB
27
28config PHYCORE_IMX8MP_RAM_SIZE_1GB
29	bool "1GB RAM"
30	help
31	  Set RAM size fix to 1GB for phyCORE-i.MX8MP.
32	  RAM frequency is configured independent.
33
34config PHYCORE_IMX8MP_RAM_SIZE_2GB
35	bool "2GB RAM"
36	help
37	  Set RAM size fix to 2GB for phyCORE-i.MX8MP.
38	  RAM frequency is configured independent.
39
40config PHYCORE_IMX8MP_RAM_SIZE_4GB
41	bool "4GB RAM"
42	help
43	  Set RAM size fix to 4GB for phyCORE-i.MX8MP.
44	  RAM frequency is configured independent.
45
46config PHYCORE_IMX8MP_RAM_SIZE_8GB
47	bool "8GB RAM"
48	help
49	  Set RAM size fix to 8GB for phyCORE-i.MX8MP.
50	  Only 2GHz RAMs are supported.
51
52endchoice
53
54config PHYCORE_IMX8MP_RAM_FREQ_FIX
55	bool "Set phyCORE-i.MX8MP RAM frequency fix instead of detecting"
56	help
57	  RAM frequency is automatic being detected with the help of
58	  the EEPROM introspection data. Set RAM frequency to a fix value
59	  instead.
60
61choice
62	prompt "phyCORE-i.MX8MP RAM frequency"
63	depends on PHYCORE_IMX8MP_RAM_FREQ_FIX
64	default PHYCORE_IMX8MP_USE_1_5GHZ_RAM_TIMINGS
65
66config PHYCORE_IMX8MP_USE_2GHZ_RAM_TIMINGS
67	bool "Use 2GHz RAM timings"
68	help
69	  Use fix 2GHz RAM timings for phyCORE-i.MX8MP instead of
70	  1.5GHz timings.
71
72config PHYCORE_IMX8MP_USE_1_5GHZ_RAM_TIMINGS
73	depends on !PHYCORE_IMX8MP_RAM_SIZE_8GB
74	bool "Use 1.5GHz RAM timings"
75	help
76	  Use fix 1.5GHz RAM timings for phyCORE-i.MX8MP instead of
77	  2GHz timings.
78endchoice
79
80source "board/phytec/common/Kconfig"
81endif
82