blob: 3743d07580252b249b063977931ece92f218eb2b [file] [log] [blame]
Stefan Reinauer55feadd2015-06-10 16:15:36 -07001#
2# Copyright (c) 2013 - 2014, Sage Electronic Engineering, LLC
Marc Jones21e5dd82016-09-20 20:32:47 -06003# Copyright (C) 2016 Advanced Micro Devices, Inc.
Stefan Reinauer55feadd2015-06-10 16:15:36 -07004# All rights reserved.
5#
6# Redistribution and use in source and binary forms, with or without
7# modification, are permitted provided that the following conditions are met:
8# * Redistributions of source code must retain the above copyright
9# notice, this list of conditions and the following disclaimer.
10# * Redistributions in binary form must reproduce the above copyright
11# notice, this list of conditions and the following disclaimer in the
12# documentation and/or other materials provided with the distribution.
13# * Neither the name of Advanced Micro Devices, Inc. nor the names of
14# its contributors may be used to endorse or promote products derived
15# from this software without specific prior written permission.
16#
17# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
18# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
19# WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
20# DISCLAIMED. IN NO EVENT SHALL ADVANCED MICRO DEVICES, INC. BE LIABLE FOR ANY
21# DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
22# (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
23# LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
24# ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
25# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
26# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27#
28
Kyösti Mälkkifa2786a2017-07-07 23:05:40 +030029if CPU_AMD_PI_00630F01 || CPU_AMD_PI_00730F01 || CPU_AMD_PI_00660F01 || SOC_AMD_STONEYRIDGE_FP4 || SOC_AMD_STONEYRIDGE_FT4
Stefan Reinauer55feadd2015-06-10 16:15:36 -070030
Marc Jones0b11bd02015-07-19 15:20:17 -060031config AGESA_BINARY_PI_VENDORCODE_PATH
Marc Jones74234eb2015-07-19 16:20:41 -060032 string "AGESA PI directory path"
Marc Jones0b11bd02015-07-19 15:20:17 -060033 default "src/vendorcode/amd/pi/00630F01" if CPU_AMD_PI_00630F01
34 default "src/vendorcode/amd/pi/00730F01" if CPU_AMD_PI_00730F01
Marc Jones21cde8b2017-05-07 16:47:36 -060035 default "src/vendorcode/amd/pi/00670F00" if SOC_AMD_STONEYRIDGE_FP4
36 default "src/vendorcode/amd/pi/00670F00" if SOC_AMD_STONEYRIDGE_FT4
Marc Jones0b11bd02015-07-19 15:20:17 -060037 default "src/vendorcode/amd/pi/00660F01" if CPU_AMD_PI_00660F01
Stefan Reinauer55feadd2015-06-10 16:15:36 -070038 help
Marc Jones0b11bd02015-07-19 15:20:17 -060039 Specify where to find the AGESA header files
Marc Jones74234eb2015-07-19 16:20:41 -060040 for AMD platform initialization.
Stefan Reinauer55feadd2015-06-10 16:15:36 -070041
Marc Jones74234eb2015-07-19 16:20:41 -060042config AGESA_BINARY_PI_FILE
43 string "AGESA PI binary file name"
Marc Jones0b11bd02015-07-19 15:20:17 -060044 default "3rdparty/blobs/pi/amd/00630F01/FP3/AGESA.bin" if CPU_AMD_PI_00630F01
45 default "3rdparty/blobs/pi/amd/00730F01/FT3b/AGESA.bin" if CPU_AMD_PI_00730F01
Marc Jones21cde8b2017-05-07 16:47:36 -060046 default "3rdparty/blobs/pi/amd/00670F00/FP4/AGESA.bin" if SOC_AMD_STONEYRIDGE_FP4
47 default "3rdparty/blobs/pi/amd/00670F00/FT4/AGESA.bin" if SOC_AMD_STONEYRIDGE_FT4
Marc Jones0b11bd02015-07-19 15:20:17 -060048 default "3rdparty/blobs/pi/amd/00660F01/FP4/AGESA.bin" if CPU_AMD_PI_00660F01
Stefan Reinauer55feadd2015-06-10 16:15:36 -070049 help
Marc Jones74234eb2015-07-19 16:20:41 -060050 Specify the binary file to use for AMD platform initialization.
Stefan Reinauer55feadd2015-06-10 16:15:36 -070051
Kyösti Mälkki7104fe22017-05-27 20:53:29 +030052config AGESA_CBFS_NAME
53 string
54 default "AGESA"
55
Marc Jones74234eb2015-07-19 16:20:41 -060056config AGESA_BINARY_PI_LOCATION
Martin Rothc59cc222016-09-30 14:44:54 -060057 hex "AGESA PI binary address in ROM"
Marc Jones74234eb2015-07-19 16:20:41 -060058 default 0xFFE00000
Stefan Reinauer55feadd2015-06-10 16:15:36 -070059 help
Marc Jones74234eb2015-07-19 16:20:41 -060060 Specify the ROM address at which to store the binary Platform
Stefan Reinauer55feadd2015-06-10 16:15:36 -070061 Initialization code.
62
63endif