Fix AMD Agesa leaking Kconfig
[coreboot.git] / src / cpu / amd / agesa / Kconfig
1 #
2 # This file is part of the coreboot project.
3 #
4 # Copyright (C) 2011 - 2012 Advanced Micro Devices, Inc.
5 #
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.
9 #
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.
14 #
15 # You should have received a copy of the GNU General Public License
16 # along with this program; if not, write to the Free Software
17 # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
18 #
19
20 config AMD_AGESA
21         bool
22         default y if CPU_AMD_AGESA_FAMILY15
23         default n
24
25 if AMD_AGESA
26
27 config XIP_ROM_SIZE
28         hex
29         default 0x100000
30         help
31           Overwride the default write through caching size as 1M Bytes.
32           On some AMD paltform, one socket support 2 or more kinds of
33           processor family, compiling several cpu families agesa code
34           will increase the romstage size.
35           In order to execute romstage in place on the flash rom,
36           more space is required to be set as write through caching.
37
38 source src/cpu/amd/agesa/family10/Kconfig
39 source src/cpu/amd/agesa/family12/Kconfig
40 source src/cpu/amd/agesa/family14/Kconfig
41 source src/cpu/amd/agesa/family15/Kconfig
42
43 endif # AMD_AGESA
44