2010-02-16 00:10:19 +01:00
|
|
|
##
|
|
|
|
## This file is part of the coreboot project.
|
|
|
|
##
|
|
|
|
## Copyright (C) 2007-2009 coresystems GmbH
|
|
|
|
##
|
|
|
|
## This program is free software; you can redistribute it and/or modify
|
|
|
|
## it under the terms of the GNU General Public License as published by
|
|
|
|
## the Free Software Foundation; version 2 of the License.
|
|
|
|
##
|
|
|
|
## This program is distributed in the hope that it will be useful,
|
|
|
|
## but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
## GNU General Public License for more details.
|
|
|
|
##
|
|
|
|
## You should have received a copy of the GNU General Public License
|
|
|
|
## along with this program; if not, write to the Free Software
|
|
|
|
## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
|
|
|
##
|
2009-08-28 16:46:59 +02:00
|
|
|
|
|
|
|
config NORTHBRIDGE_AMD_GX2
|
|
|
|
bool
|
2010-04-21 22:55:38 +02:00
|
|
|
select GEODE_VSA
|
2009-08-28 16:46:59 +02:00
|
|
|
|
2011-01-19 08:25:26 +01:00
|
|
|
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
|
|
|
|
|
2010-12-26 06:24:50 +01:00
|
|
|
config VIDEO_MB
|
|
|
|
int
|
2011-01-19 08:25:26 +01:00
|
|
|
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
|
2010-12-26 06:24:50 +01:00
|
|
|
depends on NORTHBRIDGE_AMD_GX2
|
|
|
|
|
2010-11-05 01:23:11 +01:00
|
|
|
# The GX2_PROCESSOR_MHZ options let you chose the correct GX2 processor
|
|
|
|
# speed in the mainboard's Kconfig file.
|
|
|
|
config GX2_PROCESSOR_MHZ_300
|
|
|
|
bool
|
|
|
|
config GX2_PROCESSOR_MHZ_366
|
|
|
|
bool
|
|
|
|
config GX2_PROCESSOR_MHZ_400
|
|
|
|
bool
|
|
|
|
|
|
|
|
# Map the config names to an integer (MHz).
|
|
|
|
config GX2_PROCESSOR_MHZ
|
2010-11-01 16:20:27 +01:00
|
|
|
int
|
2010-11-05 01:23:11 +01:00
|
|
|
default 300 if GX2_PROCESSOR_MHZ_300
|
|
|
|
default 366 if GX2_PROCESSOR_MHZ_366
|
|
|
|
default 400 if GX2_PROCESSOR_MHZ_400
|
2010-11-01 16:20:27 +01:00
|
|
|
|