aboutsummaryrefslogtreecommitdiff
path: root/src/northbridge/via/cn700/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'src/northbridge/via/cn700/Kconfig')
-rw-r--r--src/northbridge/via/cn700/Kconfig34
1 files changed, 34 insertions, 0 deletions
diff --git a/src/northbridge/via/cn700/Kconfig b/src/northbridge/via/cn700/Kconfig
index 09c1c963f8..8795d770b2 100644
--- a/src/northbridge/via/cn700/Kconfig
+++ b/src/northbridge/via/cn700/Kconfig
@@ -17,3 +17,37 @@ config PCI_ROM_RUN
bool
default n
depends on NORTHBRIDGE_VIA_CN700
+
+# TODO: Values are from the CX700 datasheet, not sure if this matches CN700.
+# TODO: What should be the per-chipset default value here?
+choice
+ prompt "Onboard graphics"
+ default CN700_VIDEO_MB_32MB
+ depends on NORTHBRIDGE_VIA_CN700
+
+# TODO: Disabling onboard graphics is not yet supported in the code.
+config CN700_VIDEO_MB_OFF
+ bool "Disabled, 0KB"
+config CN700_VIDEO_MB_8MB
+ bool "Enabled, 8MB"
+config CN700_VIDEO_MB_16MB
+ bool "Enabled, 16MB"
+config CN700_VIDEO_MB_32MB
+ bool "Enabled, 32MB"
+config CN700_VIDEO_MB_64MB
+ bool "Enabled, 64MB"
+config CN700_VIDEO_MB_128MB
+ bool "Enabled, 128MB"
+
+endchoice
+
+config VIDEO_MB
+ int
+ default 0 if CN700_VIDEO_MB_OFF
+ default 8 if CN700_VIDEO_MB_8MB
+ default 16 if CN700_VIDEO_MB_16MB
+ default 32 if CN700_VIDEO_MB_32MB
+ default 64 if CN700_VIDEO_MB_64MB
+ default 128 if CN700_VIDEO_MB_128MB
+ depends on NORTHBRIDGE_VIA_CN700
+