blob: 18f74e89276b9fff47a50b21603ebb2ee0177bfc [file] [log] [blame]
Frank Vibrans420faca2011-02-14 18:42:12 +00001#
2# This file is part of the coreboot project.
3#
Kerry Shehd3e990c2012-02-07 20:31:35 +08004# Copyright (C) 2011 - 2012 Advanced Micro Devices, Inc.
Frank Vibrans420faca2011-02-14 18:42:12 +00005#
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
Kyösti Mälkkid11ca1d2012-03-16 15:40:56 +020020config CPU_AMD_AGESA
Kerry Shehd3e990c2012-02-07 20:31:35 +080021 bool
Kyösti Mälkkid11ca1d2012-03-16 15:40:56 +020022 default y if CPU_AMD_AGESA_FAMILY10
23 default y if CPU_AMD_AGESA_FAMILY12
24 default y if CPU_AMD_AGESA_FAMILY14
Kyösti Mälkkif5bb4772012-03-16 15:15:20 +020025 default y if CPU_AMD_AGESA_FAMILY15
Kerry Shehd3e990c2012-02-07 20:31:35 +080026 default n
27
Kyösti Mälkkid11ca1d2012-03-16 15:40:56 +020028if CPU_AMD_AGESA
Kerry Shehd3e990c2012-02-07 20:31:35 +080029
30config XIP_ROM_SIZE
31 hex
32 default 0x100000
33 help
34 Overwride the default write through caching size as 1M Bytes.
35 On some AMD paltform, one socket support 2 or more kinds of
36 processor family, compiling several cpu families agesa code
37 will increase the romstage size.
38 In order to execute romstage in place on the flash rom,
39 more space is required to be set as write through caching.
40
efdesign984b508342011-07-13 17:16:13 -070041source src/cpu/amd/agesa/family10/Kconfig
efdesign987c0c64e2011-06-20 19:56:06 -070042source src/cpu/amd/agesa/family12/Kconfig
efdesign9805a89ab2011-06-20 17:38:49 -070043source src/cpu/amd/agesa/family14/Kconfig
Kerry Shehd3e990c2012-02-07 20:31:35 +080044source src/cpu/amd/agesa/family15/Kconfig
Kyösti Mälkkif5bb4772012-03-16 15:15:20 +020045
Kyösti Mälkkid11ca1d2012-03-16 15:40:56 +020046endif # CPU_AMD_AGESA
Kyösti Mälkkif5bb4772012-03-16 15:15:20 +020047