Some more DIMM0 related cleanups and deduplication.
[coreboot.git] / src / northbridge / via / cn400 / Kconfig
1 config NORTHBRIDGE_VIA_CN400
2         bool
3
4 # TODO: Values are from the CX700 datasheet, not sure if this matches CN400.
5 # TODO: What should be the per-chipset default value here?
6 choice
7         prompt "Onboard graphics"
8         default CN400_VIDEO_MB_32MB
9         depends on NORTHBRIDGE_VIA_CN400
10
11 # TODO: Disabling onboard graphics is not yet supported in the source code.
12 config CN400_VIDEO_MB_OFF
13         bool "Disabled, 0KB"
14 config CN400_VIDEO_MB_8MB
15         bool "Enabled, 8MB"
16 config CN400_VIDEO_MB_16MB
17         bool "Enabled, 16MB"
18 config CN400_VIDEO_MB_32MB
19         bool "Enabled, 32MB"
20 config CN400_VIDEO_MB_64MB
21         bool "Enabled, 64MB"
22 config CN400_VIDEO_MB_128MB
23         bool "Enabled, 128MB"
24
25 endchoice
26
27 config VIDEO_MB
28         int
29         default 0   if CN400_VIDEO_MB_OFF
30         default 8   if CN400_VIDEO_MB_8MB
31         default 16  if CN400_VIDEO_MB_16MB
32         default 32  if CN400_VIDEO_MB_32MB
33         default 64  if CN400_VIDEO_MB_64MB
34         default 128 if CN400_VIDEO_MB_128MB
35         depends on NORTHBRIDGE_VIA_CN400
36