Stefan Reinauer | 55feadd | 2015-06-10 16:15:36 -0700 | [diff] [blame] | 1 | # |
| 2 | # Copyright (c) 2013 - 2014, Sage Electronic Engineering, LLC |
Marc Jones | 21e5dd8 | 2016-09-20 20:32:47 -0600 | [diff] [blame] | 3 | # Copyright (C) 2016 Advanced Micro Devices, Inc. |
Stefan Reinauer | 55feadd | 2015-06-10 16:15:36 -0700 | [diff] [blame] | 4 | # 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älkki | fa2786a | 2017-07-07 23:05:40 +0300 | [diff] [blame] | 29 | if CPU_AMD_PI_00630F01 || CPU_AMD_PI_00730F01 || CPU_AMD_PI_00660F01 || SOC_AMD_STONEYRIDGE_FP4 || SOC_AMD_STONEYRIDGE_FT4 |
Stefan Reinauer | 55feadd | 2015-06-10 16:15:36 -0700 | [diff] [blame] | 30 | |
Marc Jones | 0b11bd0 | 2015-07-19 15:20:17 -0600 | [diff] [blame] | 31 | config AGESA_BINARY_PI_VENDORCODE_PATH |
Marc Jones | 74234eb | 2015-07-19 16:20:41 -0600 | [diff] [blame] | 32 | string "AGESA PI directory path" |
Marc Jones | 0b11bd0 | 2015-07-19 15:20:17 -0600 | [diff] [blame] | 33 | default "src/vendorcode/amd/pi/00630F01" if CPU_AMD_PI_00630F01 |
| 34 | default "src/vendorcode/amd/pi/00730F01" if CPU_AMD_PI_00730F01 |
Marc Jones | 21cde8b | 2017-05-07 16:47:36 -0600 | [diff] [blame] | 35 | default "src/vendorcode/amd/pi/00670F00" if SOC_AMD_STONEYRIDGE_FP4 |
| 36 | default "src/vendorcode/amd/pi/00670F00" if SOC_AMD_STONEYRIDGE_FT4 |
Marc Jones | 0b11bd0 | 2015-07-19 15:20:17 -0600 | [diff] [blame] | 37 | default "src/vendorcode/amd/pi/00660F01" if CPU_AMD_PI_00660F01 |
Stefan Reinauer | 55feadd | 2015-06-10 16:15:36 -0700 | [diff] [blame] | 38 | help |
Marc Jones | 0b11bd0 | 2015-07-19 15:20:17 -0600 | [diff] [blame] | 39 | Specify where to find the AGESA header files |
Marc Jones | 74234eb | 2015-07-19 16:20:41 -0600 | [diff] [blame] | 40 | for AMD platform initialization. |
Stefan Reinauer | 55feadd | 2015-06-10 16:15:36 -0700 | [diff] [blame] | 41 | |
Marc Jones | 74234eb | 2015-07-19 16:20:41 -0600 | [diff] [blame] | 42 | config AGESA_BINARY_PI_FILE |
| 43 | string "AGESA PI binary file name" |
Marc Jones | 0b11bd0 | 2015-07-19 15:20:17 -0600 | [diff] [blame] | 44 | 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 Jones | 21cde8b | 2017-05-07 16:47:36 -0600 | [diff] [blame] | 46 | 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 Jones | 0b11bd0 | 2015-07-19 15:20:17 -0600 | [diff] [blame] | 48 | default "3rdparty/blobs/pi/amd/00660F01/FP4/AGESA.bin" if CPU_AMD_PI_00660F01 |
Stefan Reinauer | 55feadd | 2015-06-10 16:15:36 -0700 | [diff] [blame] | 49 | help |
Marc Jones | 74234eb | 2015-07-19 16:20:41 -0600 | [diff] [blame] | 50 | Specify the binary file to use for AMD platform initialization. |
Stefan Reinauer | 55feadd | 2015-06-10 16:15:36 -0700 | [diff] [blame] | 51 | |
Kyösti Mälkki | 7104fe2 | 2017-05-27 20:53:29 +0300 | [diff] [blame] | 52 | config AGESA_CBFS_NAME |
| 53 | string |
| 54 | default "AGESA" |
| 55 | |
Marc Jones | 74234eb | 2015-07-19 16:20:41 -0600 | [diff] [blame] | 56 | config AGESA_BINARY_PI_LOCATION |
Martin Roth | c59cc22 | 2016-09-30 14:44:54 -0600 | [diff] [blame] | 57 | hex "AGESA PI binary address in ROM" |
Marc Jones | 74234eb | 2015-07-19 16:20:41 -0600 | [diff] [blame] | 58 | default 0xFFE00000 |
Stefan Reinauer | 55feadd | 2015-06-10 16:15:36 -0700 | [diff] [blame] | 59 | help |
Marc Jones | 74234eb | 2015-07-19 16:20:41 -0600 | [diff] [blame] | 60 | Specify the ROM address at which to store the binary Platform |
Stefan Reinauer | 55feadd | 2015-06-10 16:15:36 -0700 | [diff] [blame] | 61 | Initialization code. |
| 62 | |
| 63 | endif |