blob: 892892dcd2f3305dbe400e543bc8a815275428ed [file] [log] [blame]
Stefan Reinauer55feadd2015-06-10 16:15:36 -07001#
2# Copyright (c) 2013 - 2014, Sage Electronic Engineering, LLC
3# All rights reserved.
4#
5# Redistribution and use in source and binary forms, with or without
6# modification, are permitted provided that the following conditions are met:
7# * Redistributions of source code must retain the above copyright
8# notice, this list of conditions and the following disclaimer.
9# * Redistributions in binary form must reproduce the above copyright
10# notice, this list of conditions and the following disclaimer in the
11# documentation and/or other materials provided with the distribution.
12# * Neither the name of Advanced Micro Devices, Inc. nor the names of
13# its contributors may be used to endorse or promote products derived
14# from this software without specific prior written permission.
15#
16# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
17# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
18# WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
19# DISCLAIMED. IN NO EVENT SHALL ADVANCED MICRO DEVICES, INC. BE LIABLE FOR ANY
20# DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
21# (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
22# LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
23# ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
24# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
25# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26#
27
28if CPU_AMD_PI_00630F01 || CPU_AMD_PI_00730F01 || CPU_AMD_PI_00660F01
29
Marc Jones0b11bd02015-07-19 15:20:17 -060030config AGESA_BINARY_PI_VENDORCODE_PATH
Marc Jones74234eb2015-07-19 16:20:41 -060031 string "AGESA PI directory path"
Marc Jones0b11bd02015-07-19 15:20:17 -060032 default "src/vendorcode/amd/pi/00630F01" if CPU_AMD_PI_00630F01
33 default "src/vendorcode/amd/pi/00730F01" if CPU_AMD_PI_00730F01
34 default "src/vendorcode/amd/pi/00660F01" if CPU_AMD_PI_00660F01
Stefan Reinauer55feadd2015-06-10 16:15:36 -070035 help
Marc Jones0b11bd02015-07-19 15:20:17 -060036 Specify where to find the AGESA header files
Marc Jones74234eb2015-07-19 16:20:41 -060037 for AMD platform initialization.
Stefan Reinauer55feadd2015-06-10 16:15:36 -070038
Marc Jones74234eb2015-07-19 16:20:41 -060039config AGESA_BINARY_PI_FILE
40 string "AGESA PI binary file name"
Marc Jones0b11bd02015-07-19 15:20:17 -060041 default "3rdparty/blobs/pi/amd/00630F01/FP3/AGESA.bin" if CPU_AMD_PI_00630F01
42 default "3rdparty/blobs/pi/amd/00730F01/FT3b/AGESA.bin" if CPU_AMD_PI_00730F01
43 default "3rdparty/blobs/pi/amd/00660F01/FP4/AGESA.bin" if CPU_AMD_PI_00660F01
Stefan Reinauer55feadd2015-06-10 16:15:36 -070044 help
Marc Jones74234eb2015-07-19 16:20:41 -060045 Specify the binary file to use for AMD platform initialization.
Stefan Reinauer55feadd2015-06-10 16:15:36 -070046
Marc Jones74234eb2015-07-19 16:20:41 -060047config AGESA_BINARY_PI_LOCATION
48 string "AGESA PI binary address in ROM"
49 default 0xFFE00000
Stefan Reinauer55feadd2015-06-10 16:15:36 -070050 help
Marc Jones74234eb2015-07-19 16:20:41 -060051 Specify the ROM address at which to store the binary Platform
Stefan Reinauer55feadd2015-06-10 16:15:36 -070052 Initialization code.
53
54endif