summaryrefslogtreecommitdiff
path: root/board/solidrun/clearfog/Kconfig
blob: e8c3f53d84a8eeebafa0a419c79e66aa3cf2ed4a (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
menu "ClearFog configuration"
	depends on TARGET_CLEARFOG

config TARGET_CLEARFOG_BASE
	bool "Use ClearFog Base static configuration"
	help
	  Use the ClearFog Base as the static configuration instead of the
	  default which uses the ClearFog Pro.

	  Runtime board detection is always attempted and used if available. The
	  static configuration is used as a fallback in cases where runtime
	  detection is disabled, is not available in hardware, or otherwise fails.

	  Only newer revisions of the ClearFog product line support runtime
	  detection via additional EEPROM hardware. This option enables selecting
	  the Base variant for older hardware revisions.

config CLEARFOG_CON3_SATA
	bool "Use CON3 slot in SATA mode"
	help
	  Use the CON3 port with SATA protocol instead of the default PCIe.
	  The ClearFog port allows usage of either mSATA or miniPCIe
	  modules, but the desired protocol must be configured at build
	  time since it affects the SerDes topology layout.

config CLEARFOG_CON2_SATA
	bool "Use CON2 slot in SATA mode"
	depends on !TARGET_CLEARFOG_BASE
	help
	  Use the CON2 port with SATA protocol instead of the default PCIe.
	  The ClearFog port allows usage of either mSATA or miniPCIe
	  modules, but the desired protocol must be configured at build
	  time since it affects the SerDes topology layout.

config CLEARFOG_SFP_25GB
	bool "Enable 2.5 Gbps mode for SFP"
	help
	  Set the SFP module connection to support 2.5 Gbps transfer speed for the
	  SGMII connection (requires a supporting SFP). By default, transfer speed
	  of 1.25 Gbps is used, suitable for a more common 1 Gbps SFP module.

config ENV_SIZE
	hex "Environment Size"
	default 0x10000

config ENV_OFFSET
	hex "Environment offset"
	default 0xF0000

config ENV_SECT_SIZE
	hex "Environment Sector-Size"
	# Use SPI flash erase block size of 4 KiB
	default 0x1000 if MVEBU_SPL_BOOT_DEVICE_SPI
	# Use optimistic 64 KiB erase block, will vary between actual media
	default 0x10000 if MVEBU_SPL_BOOT_DEVICE_MMC

config SYS_SPI_U_BOOT_OFFS
	hex "address of u-boot payload in SPI flash"
	default 0x20000
	depends on MVEBU_SPL_BOOT_DEVICE_SPI

endmenu