Add kconfig menus for most chipset VIDEO_MB values.
[coreboot.git] / src / northbridge / via / cn700 / Kconfig
1 config NORTHBRIDGE_VIA_CN700
2         bool
3         select HAVE_HIGH_TABLES
4
5 config FALLBACK_SIZE
6         int
7         default 0
8         depends on NORTHBRIDGE_VIA_CN700
9
10 # this is done by the northbridge's vgabios.c already
11 config VGA_ROM_RUN
12         bool
13         default n
14         depends on NORTHBRIDGE_VIA_CN700
15
16 config PCI_ROM_RUN
17         bool
18         default n
19         depends on NORTHBRIDGE_VIA_CN700
20
21 # TODO: Values are from the CX700 datasheet, not sure if this matches CN700.
22 # TODO: What should be the per-chipset default value here?
23 choice
24         prompt "Onboard graphics"
25         default CN700_VIDEO_MB_32MB
26         depends on NORTHBRIDGE_VIA_CN700
27
28 # TODO: Disabling onboard graphics is not yet supported in the code.
29 config CN700_VIDEO_MB_OFF
30         bool "Disabled, 0KB"
31 config CN700_VIDEO_MB_8MB
32         bool "Enabled, 8MB"
33 config CN700_VIDEO_MB_16MB
34         bool "Enabled, 16MB"
35 config CN700_VIDEO_MB_32MB
36         bool "Enabled, 32MB"
37 config CN700_VIDEO_MB_64MB
38         bool "Enabled, 64MB"
39 config CN700_VIDEO_MB_128MB
40         bool "Enabled, 128MB"
41
42 endchoice
43
44 config VIDEO_MB
45         int
46         default 0   if CN700_VIDEO_MB_OFF
47         default 8   if CN700_VIDEO_MB_8MB
48         default 16  if CN700_VIDEO_MB_16MB
49         default 32  if CN700_VIDEO_MB_32MB
50         default 64  if CN700_VIDEO_MB_64MB
51         default 128 if CN700_VIDEO_MB_128MB
52         depends on NORTHBRIDGE_VIA_CN700
53