Bruce Griffith | b266c6b | 2014-08-10 23:56:45 -0600 | [diff] [blame] | 1 | # |
| 2 | # This file is part of the coreboot project. |
| 3 | # |
| 4 | # Copyright (C) 2013-2014 Sage Electronic Engineering, LLC |
| 5 | # |
| 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älkki | e4c17ce | 2014-10-21 18:22:32 +0300 | [diff] [blame^] | 20 | if CPU_AMD_PI |
Bruce Griffith | b266c6b | 2014-08-10 23:56:45 -0600 | [diff] [blame] | 21 | |
| 22 | menu "AMD Platform Initialization" |
| 23 | |
| 24 | source src/vendorcode/amd/pi/Kconfig |
| 25 | |
| 26 | choice |
| 27 | prompt "AGESA source" |
Kyösti Mälkki | e4c17ce | 2014-10-21 18:22:32 +0300 | [diff] [blame^] | 28 | default CPU_AMD_AGESA_BINARY_PI if CPU_AMD_PI |
Bruce Griffith | b266c6b | 2014-08-10 23:56:45 -0600 | [diff] [blame] | 29 | default CPU_AMD_AGESA_OPENSOURCE |
| 30 | help |
| 31 | Select the method for including the AMD Platform Initialization |
| 32 | code into coreboot. Platform Initialization code is required for |
| 33 | all AMD processors. |
| 34 | |
| 35 | config CPU_AMD_AGESA_BINARY_PI |
| 36 | bool "binary PI" |
| 37 | select HUDSON_DISABLE_IMC |
| 38 | help |
| 39 | Use a binary PI package. Generally, these will be stored in the |
| 40 | "3rdparty" directory. For some processors, these must be obtained |
| 41 | directly from AMD Embedded Processors Group |
| 42 | (http://www.amdcom/embedded). |
| 43 | |
| 44 | config CPU_AMD_AGESA_OPENSOURCE |
| 45 | bool "open-source AGESA" |
| 46 | help |
| 47 | Build the PI package ("AGESA") from source code in the "vendorcode" |
| 48 | directory. |
| 49 | |
| 50 | endchoice |
| 51 | |
Kyösti Mälkki | e4c17ce | 2014-10-21 18:22:32 +0300 | [diff] [blame^] | 52 | if CPU_AMD_AGESA_BINARY_PI |
| 53 | |
Bruce Griffith | b266c6b | 2014-08-10 23:56:45 -0600 | [diff] [blame] | 54 | config AGESA_BINARY_PI_PATH_DEFAULT_SELECTED |
| 55 | bool |
Bruce Griffith | b266c6b | 2014-08-10 23:56:45 -0600 | [diff] [blame] | 56 | default n |
| 57 | |
| 58 | config AGESA_BINARY_PI_PATH |
| 59 | string "AGESA PI directory path" |
Bruce Griffith | b266c6b | 2014-08-10 23:56:45 -0600 | [diff] [blame] | 60 | default AGESA_BINARY_PI_PATH_DEFAULT if AGESA_BINARY_PI_PATH_DEFAULT_SELECTED |
| 61 | help |
| 62 | Specify where to find the AGESA headers and binary file |
| 63 | for AMD platform initialization. |
| 64 | |
| 65 | config AGESA_BINARY_PI_FILE_DEFAULT_SELECTED |
| 66 | bool |
Bruce Griffith | b266c6b | 2014-08-10 23:56:45 -0600 | [diff] [blame] | 67 | default n |
| 68 | |
| 69 | config AGESA_BINARY_PI_FILE |
| 70 | string "AGESA PI binary file name" |
Bruce Griffith | b266c6b | 2014-08-10 23:56:45 -0600 | [diff] [blame] | 71 | default AGESA_BINARY_PI_FILE_DEFAULT if AGESA_BINARY_PI_FILE_DEFAULT_SELECTED |
| 72 | help |
| 73 | Specify the binary file to use for AMD platform initialization. |
| 74 | |
| 75 | config AGESA_BINARY_PI_LOCATION_DEFAULT_SELECTED |
| 76 | bool |
Bruce Griffith | b266c6b | 2014-08-10 23:56:45 -0600 | [diff] [blame] | 77 | default n |
| 78 | |
| 79 | config AGESA_BINARY_PI_LOCATION |
| 80 | string "AGESA PI binary address in ROM" |
Bruce Griffith | b266c6b | 2014-08-10 23:56:45 -0600 | [diff] [blame] | 81 | default AGESA_BINARY_PI_LOCATION_DEFAULT if AGESA_BINARY_PI_FILE_DEFAULT_SELECTED |
| 82 | help |
| 83 | Specify the ROM address at which to store the binary Platform |
| 84 | Initialization code. |
| 85 | |
Kyösti Mälkki | e4c17ce | 2014-10-21 18:22:32 +0300 | [diff] [blame^] | 86 | endif |
| 87 | |
Bruce Griffith | b266c6b | 2014-08-10 23:56:45 -0600 | [diff] [blame] | 88 | endmenu |
| 89 | |
| 90 | endif |