Stefan Reinauer | 55feadd | 2015-06-10 16:15:36 -0700 | [diff] [blame] | 1 | # |
| 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 | |
| 28 | if CPU_AMD_PI_00630F01 || CPU_AMD_PI_00730F01 || CPU_AMD_PI_00660F01 |
| 29 | |
Marc Jones | 0b11bd0 | 2015-07-19 15:20:17 -0600 | [diff] [blame] | 30 | config AGESA_BINARY_PI_VENDORCODE_PATH |
Marc Jones | 74234eb | 2015-07-19 16:20:41 -0600 | [diff] [blame] | 31 | string "AGESA PI directory path" |
Marc Jones | 0b11bd0 | 2015-07-19 15:20:17 -0600 | [diff] [blame] | 32 | 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 Reinauer | 55feadd | 2015-06-10 16:15:36 -0700 | [diff] [blame] | 35 | help |
Marc Jones | 0b11bd0 | 2015-07-19 15:20:17 -0600 | [diff] [blame] | 36 | Specify where to find the AGESA header files |
Marc Jones | 74234eb | 2015-07-19 16:20:41 -0600 | [diff] [blame] | 37 | for AMD platform initialization. |
Stefan Reinauer | 55feadd | 2015-06-10 16:15:36 -0700 | [diff] [blame] | 38 | |
Marc Jones | 74234eb | 2015-07-19 16:20:41 -0600 | [diff] [blame] | 39 | config AGESA_BINARY_PI_FILE |
| 40 | string "AGESA PI binary file name" |
Marc Jones | 0b11bd0 | 2015-07-19 15:20:17 -0600 | [diff] [blame] | 41 | 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 Reinauer | 55feadd | 2015-06-10 16:15:36 -0700 | [diff] [blame] | 44 | help |
Marc Jones | 74234eb | 2015-07-19 16:20:41 -0600 | [diff] [blame] | 45 | Specify the binary file to use for AMD platform initialization. |
Stefan Reinauer | 55feadd | 2015-06-10 16:15:36 -0700 | [diff] [blame] | 46 | |
Marc Jones | 74234eb | 2015-07-19 16:20:41 -0600 | [diff] [blame] | 47 | config AGESA_BINARY_PI_LOCATION |
| 48 | string "AGESA PI binary address in ROM" |
| 49 | default 0xFFE00000 |
Stefan Reinauer | 55feadd | 2015-06-10 16:15:36 -0700 | [diff] [blame] | 50 | help |
Marc Jones | 74234eb | 2015-07-19 16:20:41 -0600 | [diff] [blame] | 51 | Specify the ROM address at which to store the binary Platform |
Stefan Reinauer | 55feadd | 2015-06-10 16:15:36 -0700 | [diff] [blame] | 52 | Initialization code. |
| 53 | |
| 54 | endif |