drop three unneeded config variables:
[coreboot.git] / src / northbridge / via / cn400 / Kconfig
index d07a37fd033009243553b435709447277fc857fd..42fa0968942e4969da9599a2e775e2e35e68d249 100644 (file)
@@ -1,8 +1,36 @@
 config NORTHBRIDGE_VIA_CN400
        bool
-       default n
 
-config FALLBACK_SIZE
+# TODO: Values are from the CX700 datasheet, not sure if this matches CN400.
+# TODO: What should be the per-chipset default value here?
+choice
+       prompt "Onboard graphics"
+       default CN400_VIDEO_MB_32MB
+       depends on NORTHBRIDGE_VIA_CN400
+
+# TODO: Disabling onboard graphics is not yet supported in the source code.
+config CN400_VIDEO_MB_OFF
+       bool "Disabled, 0KB"
+config CN400_VIDEO_MB_8MB
+       bool "Enabled, 8MB"
+config CN400_VIDEO_MB_16MB
+       bool "Enabled, 16MB"
+config CN400_VIDEO_MB_32MB
+       bool "Enabled, 32MB"
+config CN400_VIDEO_MB_64MB
+       bool "Enabled, 64MB"
+config CN400_VIDEO_MB_128MB
+       bool "Enabled, 128MB"
+
+endchoice
+
+config VIDEO_MB
        int
-       default 0
+       default 0   if CN400_VIDEO_MB_OFF
+       default 8   if CN400_VIDEO_MB_8MB
+       default 16  if CN400_VIDEO_MB_16MB
+       default 32  if CN400_VIDEO_MB_32MB
+       default 64  if CN400_VIDEO_MB_64MB
+       default 128 if CN400_VIDEO_MB_128MB
        depends on NORTHBRIDGE_VIA_CN400
+