summaryrefslogtreecommitdiff
path: root/src/northbridge/via/cn700/Kconfig
blob: 00af051cb626dcb5b801ddc7803a3956ad9736aa (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
config NORTHBRIDGE_VIA_CN700
	bool
	select HAVE_DEBUG_RAM_SETUP

config FALLBACK_SIZE
	int
	default 0
	depends on NORTHBRIDGE_VIA_CN700

# TODO: Values are from the CX700 datasheet, not sure if this matches CN700.
# TODO: What should be the per-chipset default value here?
choice
	prompt "Onboard graphics"
	default CN700_VIDEO_MB_32MB
	depends on NORTHBRIDGE_VIA_CN700

# TODO: Disabling onboard graphics is not yet supported in the code.
config CN700_VIDEO_MB_OFF
	bool "Disabled, 0KB"
config CN700_VIDEO_MB_8MB
	bool "Enabled, 8MB"
config CN700_VIDEO_MB_16MB
	bool "Enabled, 16MB"
config CN700_VIDEO_MB_32MB
	bool "Enabled, 32MB"
config CN700_VIDEO_MB_64MB
	bool "Enabled, 64MB"
config CN700_VIDEO_MB_128MB
	bool "Enabled, 128MB"

endchoice

config VIDEO_MB
	int
	default 0   if CN700_VIDEO_MB_OFF
	default 8   if CN700_VIDEO_MB_8MB
	default 16  if CN700_VIDEO_MB_16MB
	default 32  if CN700_VIDEO_MB_32MB
	default 64  if CN700_VIDEO_MB_64MB
	default 128 if CN700_VIDEO_MB_128MB
	depends on NORTHBRIDGE_VIA_CN700