2 ## This file is part of the coreboot project.
4 ## Copyright (C) 2007-2009 coresystems GmbH
6 ## This program is free software; you can redistribute it and/or modify
7 ## it under the terms of the GNU General Public License as published by
8 ## the Free Software Foundation; version 2 of the License.
10 ## This program is distributed in the hope that it will be useful,
11 ## but WITHOUT ANY WARRANTY; without even the implied warranty of
12 ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 ## GNU General Public License for more details.
16 config NORTHBRIDGE_AMD_GX2
19 select LATE_CBMEM_INIT
21 if NORTHBRIDGE_AMD_GX2
24 prompt "Framebuffer size"
25 default GX2_VIDEO_MB_8MB
27 config GX2_VIDEO_MB_4MB
29 config GX2_VIDEO_MB_8MB
31 config GX2_VIDEO_MB_16MB
33 config GX2_VIDEO_MB_32MB
35 config GX2_VIDEO_MB_64MB
37 config GX2_VIDEO_MB_128MB
39 config GX2_VIDEO_MB_256MB
41 config GX2_VIDEO_MB_CMOS
42 bool "Use CMOS option"
48 default 4 if GX2_VIDEO_MB_4MB
49 default 8 if GX2_VIDEO_MB_8MB
50 default 16 if GX2_VIDEO_MB_16MB
51 default 32 if GX2_VIDEO_MB_32MB
52 default 64 if GX2_VIDEO_MB_64MB
53 default 128 if GX2_VIDEO_MB_128MB
54 default 256 if GX2_VIDEO_MB_256MB
55 default -1 if GX2_VIDEO_MB_CMOS
57 # The GX2_PROCESSOR_MHZ options let you chose the correct GX2 processor
58 # speed in the mainboard's Kconfig file.
59 config GX2_PROCESSOR_MHZ_300
61 config GX2_PROCESSOR_MHZ_366
63 config GX2_PROCESSOR_MHZ_400
66 # Map the config names to an integer (MHz).
67 config GX2_PROCESSOR_MHZ
69 default 300 if GX2_PROCESSOR_MHZ_300
70 default 366 if GX2_PROCESSOR_MHZ_366
71 default 400 if GX2_PROCESSOR_MHZ_400
73 endif # NORTHBRIDGE_AMD_GX2