AMD: Isolate AGESA and PI build environments
To backport features introduced with recent Chromebooks and/or Intel boards in general, heavy work on the AMD AGESA platform infrastructure is required. With the AGESA PI available in binary form only, community members have little means to verify, debug and develop for the said platforms. Thus it makes sense to fork the existing agesawrapper interfaces, to give AMD PI platforms a clean and independent sandbox. New directory layout reflects the separation already taken place under 3rdparty/ and vendorcode/. Change-Id: Ib60861266f8a70666617dde811663f2d5891a9e0 Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: http://review.coreboot.org/7149 Reviewed-by: Edward O'Callaghan <eocallaghan@alterapraxis.com> Reviewed-by: Bruce Griffith <Bruce.Griffith@se-eng.com> Tested-by: build bot (Jenkins)
This commit is contained in:
@ -17,7 +17,7 @@
|
||||
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
#
|
||||
|
||||
if CPU_AMD_AGESA_00730F01
|
||||
if CPU_AMD_PI
|
||||
|
||||
menu "AMD Platform Initialization"
|
||||
|
||||
@ -25,8 +25,7 @@ source src/vendorcode/amd/pi/Kconfig
|
||||
|
||||
choice
|
||||
prompt "AGESA source"
|
||||
depends on CPU_AMD_AGESA
|
||||
default CPU_AMD_AGESA_BINARY_PI if CPU_AMD_AGESA_00730F01
|
||||
default CPU_AMD_AGESA_BINARY_PI if CPU_AMD_PI
|
||||
default CPU_AMD_AGESA_OPENSOURCE
|
||||
help
|
||||
Select the method for including the AMD Platform Initialization
|
||||
@ -50,14 +49,14 @@ config CPU_AMD_AGESA_OPENSOURCE
|
||||
|
||||
endchoice
|
||||
|
||||
if CPU_AMD_AGESA_BINARY_PI
|
||||
|
||||
config AGESA_BINARY_PI_PATH_DEFAULT_SELECTED
|
||||
bool
|
||||
depends on CPU_AMD_AGESA_BINARY_PI
|
||||
default n
|
||||
|
||||
config AGESA_BINARY_PI_PATH
|
||||
string "AGESA PI directory path"
|
||||
depends on CPU_AMD_AGESA_BINARY_PI
|
||||
default AGESA_BINARY_PI_PATH_DEFAULT if AGESA_BINARY_PI_PATH_DEFAULT_SELECTED
|
||||
help
|
||||
Specify where to find the AGESA headers and binary file
|
||||
@ -65,29 +64,27 @@ config AGESA_BINARY_PI_PATH
|
||||
|
||||
config AGESA_BINARY_PI_FILE_DEFAULT_SELECTED
|
||||
bool
|
||||
depends on CPU_AMD_AGESA_BINARY_PI
|
||||
default n
|
||||
|
||||
config AGESA_BINARY_PI_FILE
|
||||
string "AGESA PI binary file name"
|
||||
depends on CPU_AMD_AGESA_BINARY_PI
|
||||
default AGESA_BINARY_PI_FILE_DEFAULT if AGESA_BINARY_PI_FILE_DEFAULT_SELECTED
|
||||
help
|
||||
Specify the binary file to use for AMD platform initialization.
|
||||
|
||||
config AGESA_BINARY_PI_LOCATION_DEFAULT_SELECTED
|
||||
bool
|
||||
depends on CPU_AMD_AGESA_BINARY_PI
|
||||
default n
|
||||
|
||||
config AGESA_BINARY_PI_LOCATION
|
||||
string "AGESA PI binary address in ROM"
|
||||
depends on CPU_AMD_AGESA_BINARY_PI
|
||||
default AGESA_BINARY_PI_LOCATION_DEFAULT if AGESA_BINARY_PI_FILE_DEFAULT_SELECTED
|
||||
help
|
||||
Specify the ROM address at which to store the binary Platform
|
||||
Initialization code.
|
||||
|
||||
endif
|
||||
|
||||
endmenu
|
||||
|
||||
endif
|
||||
|
@ -25,32 +25,28 @@
|
||||
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
#
|
||||
|
||||
if CPU_AMD_AGESA_00730F01
|
||||
if CPU_AMD_PI_00730F01
|
||||
|
||||
config AGESA_BINARY_PI_DEFAULTS # dummy
|
||||
def_bool y
|
||||
depends on CPU_AMD_AGESA_00730F01
|
||||
select AGESA_BINARY_PI_LOCATION_DEFAULT_SELECTED
|
||||
select AGESA_BINARY_PI_PATH_DEFAULT_SELECTED
|
||||
select AGESA_BINARY_PI_FILE_DEFAULT_SELECTED
|
||||
|
||||
config AGESA_BINARY_PI_PATH_DEFAULT
|
||||
string
|
||||
depends on CPU_AMD_AGESA_00730F01
|
||||
default "3rdparty/pi/amd/00730F01"
|
||||
help
|
||||
The default binary file name to use for AMD platform initialization.
|
||||
|
||||
config AGESA_BINARY_PI_FILE_DEFAULT
|
||||
string
|
||||
depends on CPU_AMD_AGESA_00730F01
|
||||
default "FT3b/AGESA.bin"
|
||||
help
|
||||
The default binary file name to use for AMD platform initialization.
|
||||
|
||||
config AGESA_BINARY_PI_LOCATION_DEFAULT
|
||||
hex
|
||||
depends on CPU_AMD_AGESA_00730F01
|
||||
default 0xFFE00000
|
||||
help
|
||||
The default ROM address at which to store the binary Platform
|
||||
|
@ -1 +1 @@
|
||||
subdirs-$(CONFIG_CPU_AMD_AGESA_00730F01) += 00730F01
|
||||
subdirs-$(CONFIG_CPU_AMD_PI_00730F01) += 00730F01
|
||||
|
Reference in New Issue
Block a user