summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNils Jacobs <njacobs8@hetnet.nl>2011-01-19 07:25:26 +0000
committerPeter Stuge <peter@stuge.se>2011-01-19 07:25:26 +0000
commitc29675f3324db3d4a14b77b1c9d4988cb9a89a0a (patch)
tree300694c6221b5b70bba839caa4db0c4322942c1a
parentfb2b584ac4ccb2030ab9e111ee44de196270b27a (diff)
Add a GX2 Kconfig option to choose the framebuffer size.
Signed-off-by: Nils Jacobs <njacobs8@hetnet.nl> Acked-by: Peter Stuge <peter@stuge.se> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6275 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
-rw-r--r--src/northbridge/amd/gx2/Kconfig33
1 files changed, 32 insertions, 1 deletions
diff --git a/src/northbridge/amd/gx2/Kconfig b/src/northbridge/amd/gx2/Kconfig
index 2267a1df5d..ae532bd005 100644
--- a/src/northbridge/amd/gx2/Kconfig
+++ b/src/northbridge/amd/gx2/Kconfig
@@ -21,9 +21,40 @@ config NORTHBRIDGE_AMD_GX2
bool
select GEODE_VSA
+choice
+ prompt "Framebuffer size"
+ default GX2_VIDEO_MB_8MB
+ depends on NORTHBRIDGE_AMD_GX2 && VGA_BRIDGE_SETUP
+
+config GX2_VIDEO_MB_4MB
+ bool "4MB"
+config GX2_VIDEO_MB_8MB
+ bool "8MB"
+config GX2_VIDEO_MB_16MB
+ bool "16MB"
+config GX2_VIDEO_MB_32MB
+ bool "32MB"
+config GX2_VIDEO_MB_64MB
+ bool "64MB"
+config GX2_VIDEO_MB_128MB
+ bool "128MB"
+config GX2_VIDEO_MB_256MB
+ bool "256MB"
+config GX2_VIDEO_MB_CMOS
+ bool "Use CMOS option"
+
+endchoice
+
config VIDEO_MB
int
- default 8
+ default 4 if GX2_VIDEO_MB_4MB
+ default 8 if GX2_VIDEO_MB_8MB
+ default 16 if GX2_VIDEO_MB_16MB
+ default 32 if GX2_VIDEO_MB_32MB
+ default 64 if GX2_VIDEO_MB_64MB
+ default 128 if GX2_VIDEO_MB_128MB
+ default 256 if GX2_VIDEO_MB_256MB
+ default -1 if GX2_VIDEO_MB_CMOS
depends on NORTHBRIDGE_AMD_GX2
# The GX2_PROCESSOR_MHZ options let you chose the correct GX2 processor