summaryrefslogtreecommitdiff
path: root/src/northbridge/via/cn400/Kconfig
blob: 8a27af42f2c5f6c75232a89ef26f4f5c3b84da0c (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
config NORTHBRIDGE_VIA_CN400
	bool

config FALLBACK_SIZE
	int
	default 0
	depends on NORTHBRIDGE_VIA_CN400

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

# TODO: Disabling onboard graphics is not yet supported in the source code.
config CN400_VIDEO_MB_OFF
	bool "Disabled, 0KB"
config CN400_VIDEO_MB_8MB
	bool "Enabled, 8MB"
config CN400_VIDEO_MB_16MB
	bool "Enabled, 16MB"
config CN400_VIDEO_MB_32MB
	bool "Enabled, 32MB"
config CN400_VIDEO_MB_64MB
	bool "Enabled, 64MB"
config CN400_VIDEO_MB_128MB
	bool "Enabled, 128MB"

endchoice

config VIDEO_MB
	int
	default 0   if CN400_VIDEO_MB_OFF
	default 8   if CN400_VIDEO_MB_8MB
	default 16  if CN400_VIDEO_MB_16MB
	default 32  if CN400_VIDEO_MB_32MB
	default 64  if CN400_VIDEO_MB_64MB
	default 128 if CN400_VIDEO_MB_128MB
	depends on NORTHBRIDGE_VIA_CN400