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