summaryrefslogtreecommitdiff
path: root/board/phytec/phycore_imx8mm/Kconfig
blob: 609c11580ce37e7a75be96508b727a6f0a6b3e1a (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_IMX8MM

config SYS_BOARD
	default "phycore_imx8mm"

config SYS_VENDOR
	default "phytec"

config SYS_CONFIG_NAME
	default "phycore_imx8mm"

config IMX_CONFIG
	default "board/phytec/phycore_imx8mm/imximage-8mm-sd.cfg"

config PHYCORE_IMX8MM_RAM_SIZE_FIX
	bool "Set phyCORE-i.MX8MM 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.MX8MM RAM size"
	depends on PHYCORE_IMX8MM_RAM_SIZE_FIX
	default PHYCORE_IMX8MM_RAM_SIZE_2GB
	help
	  Select a fixed RAM size instead of EEPROM introspection
	  data.

config PHYCORE_IMX8MM_RAM_SIZE_1GB
	bool "1GB RAM"
	help
	  Set RAM size fix to 1GB for phyCORE-i.MX8MM
	  instead of runtime detection from EEPROM.

config PHYCORE_IMX8MM_RAM_SIZE_2GB
	bool "2GB RAM"
	help
	  Set RAM size fix to 2GB for phyCORE-i.MX8MM
	  instead of runtime detection from EEPROM.

config PHYCORE_IMX8MM_RAM_SIZE_4GB
	bool "4GB RAM"
	help
	  Set RAM size fix to 4GB for phyCORE-i.MX8MM
	  instead of runtime detection from EEPROM.

endchoice

config PHYCORE_IMX8MM_RAM_STATIC_SOM_REV
	bool "Set static phyCORE-i.MX8MM SoM revision for RAM timing setup"
	default false
	help
	  phyCORE-i.MX8MM SoM revision 7 uses a updated set of optimized
	  RAM timings compared to revision 6 and older. Set the SoM
	  revision during compile time instead of being detected.

choice
	prompt "phyCORE-i.MX8MM RAM timing SoM revision static config"
	depends on PHYCORE_IMX8MM_RAM_STATIC_SOM_REV
	default PHYCORE_IMX8MM_USE_SOM_REV_7
	help
	  Use a fixed revision setting instead of runtime
	  auto detection.

config PHYCORE_IMX8MM_USE_SOM_REV_6
	bool "RAM Timings for SoM Revisions 6 and older"
	help
	  Use optimized RAM Timings for phyCORE-i.MX8MM SoM Revisions 6
	  and older instead of autodetecting.

config PHYCORE_IMX8MM_USE_SOM_REV_7
	bool "RAM Timings for SoM Revision 7"
	help
	  Use optimized RAM Timings for phyCORE-i.MX8MM SoM Revision 7
	  instead of autodetecting.
endchoice

source "board/phytec/common/Kconfig"
endif