blob: 18897054d87e7323bbaa76fe0d7d4c19b03af1d9 [file] [log] [blame]
Patrick Georgi88f55b22009-09-25 18:43:02 +00001config NORTHBRIDGE_VIA_CN700
2 bool
Jens Rottmann0d11f2d2010-08-26 12:46:02 +00003 select HAVE_DEBUG_RAM_SETUP
Kyösti Mälkki3bf38542014-12-18 22:22:04 +02004 select LATE_CBMEM_INIT
Patrick Georgi88f55b22009-09-25 18:43:02 +00005
Uwe Hermann63a8f2a2009-10-26 21:42:13 +00006# TODO: Values are from the CX700 datasheet, not sure if this matches CN700.
7# TODO: What should be the per-chipset default value here?
8choice
9 prompt "Onboard graphics"
10 default CN700_VIDEO_MB_32MB
11 depends on NORTHBRIDGE_VIA_CN700
12
13# TODO: Disabling onboard graphics is not yet supported in the code.
14config CN700_VIDEO_MB_OFF
15 bool "Disabled, 0KB"
16config CN700_VIDEO_MB_8MB
17 bool "Enabled, 8MB"
18config CN700_VIDEO_MB_16MB
19 bool "Enabled, 16MB"
20config CN700_VIDEO_MB_32MB
21 bool "Enabled, 32MB"
22config CN700_VIDEO_MB_64MB
23 bool "Enabled, 64MB"
24config CN700_VIDEO_MB_128MB
25 bool "Enabled, 128MB"
26
27endchoice
28
29config VIDEO_MB
30 int
31 default 0 if CN700_VIDEO_MB_OFF
32 default 8 if CN700_VIDEO_MB_8MB
33 default 16 if CN700_VIDEO_MB_16MB
34 default 32 if CN700_VIDEO_MB_32MB
35 default 64 if CN700_VIDEO_MB_64MB
36 default 128 if CN700_VIDEO_MB_128MB
37 depends on NORTHBRIDGE_VIA_CN700