summaryrefslogtreecommitdiff
path: root/board/phytec/phycore_imx8mp/Kconfig
blob: caf9cb0c3c39ccd12d60a8a3e2e47f3d2f5b21b4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
if TARGET_PHYCORE_IMX8MP

config SYS_BOARD
	default "phycore_imx8mp"

config SYS_VENDOR
	default "phytec"

config SYS_CONFIG_NAME
	default "phycore_imx8mp"

config IMX_CONFIG
	default "board/phytec/phycore_imx8mp/imximage-8mp-sd.cfg"

config PHYCORE_IMX8MP_RAM_SIZE_FIX
	bool "Set phyCORE-i.MX8MP RAM size fix instead of detecting"
	default false
	help
	  RAM size is automatic being detected with the help of
	  the EEPROM introspection data. Set RAM size to a fix value
	  instead.

choice
	prompt "phyCORE-i.MX8MP RAM size"
	depends on PHYCORE_IMX8MP_RAM_SIZE_FIX
	default PHYCORE_IMX8MP_RAM_SIZE_2GB

config PHYCORE_IMX8MP_RAM_SIZE_1GB
	bool "1GB RAM"
	help
	  Set RAM size fix to 1GB for phyCORE-i.MX8MP.
	  RAM frequency is configured independent.

config PHYCORE_IMX8MP_RAM_SIZE_2GB
	bool "2GB RAM"
	help
	  Set RAM size fix to 2GB for phyCORE-i.MX8MP.
	  RAM frequency is configured independent.

config PHYCORE_IMX8MP_RAM_SIZE_4GB
	bool "4GB RAM"
	help
	  Set RAM size fix to 4GB for phyCORE-i.MX8MP.
	  RAM frequency is configured independent.

config PHYCORE_IMX8MP_RAM_SIZE_8GB
	bool "8GB RAM"
	help
	  Set RAM size fix to 8GB for phyCORE-i.MX8MP.
	  Only 2GHz RAMs are supported.

endchoice

config PHYCORE_IMX8MP_RAM_FREQ_FIX
	bool "Set phyCORE-i.MX8MP RAM frequency fix instead of detecting"
	help
	  RAM frequency is automatic being detected with the help of
	  the EEPROM introspection data. Set RAM frequency to a fix value
	  instead.

choice
	prompt "phyCORE-i.MX8MP RAM frequency"
	depends on PHYCORE_IMX8MP_RAM_FREQ_FIX
	default PHYCORE_IMX8MP_USE_1_5GHZ_RAM_TIMINGS

config PHYCORE_IMX8MP_USE_2GHZ_RAM_TIMINGS
	bool "Use 2GHz RAM timings"
	help
	  Use fix 2GHz RAM timings for phyCORE-i.MX8MP instead of
	  1.5GHz timings.

config PHYCORE_IMX8MP_USE_1_5GHZ_RAM_TIMINGS
	depends on !PHYCORE_IMX8MP_RAM_SIZE_8GB
	bool "Use 1.5GHz RAM timings"
	help
	  Use fix 1.5GHz RAM timings for phyCORE-i.MX8MP instead of
	  2GHz timings.
endchoice

source "board/phytec/common/Kconfig"
endif