From 7104fe261841ad40e11656becc6d8f54de53104b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ky=C3=B6sti=20M=C3=A4lkki?= Date: Sat, 27 May 2017 20:53:29 +0300 Subject: binaryPI: Define AGESA blob in CBFS as Kconfig string MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I0f78cb275ecad732f81c609564a0640f03d2559e Signed-off-by: Kyösti Mälkki Reviewed-on: https://review.coreboot.org/19983 Tested-by: build bot (Jenkins) Reviewed-by: Marc Jones Reviewed-by: Marshall Dawson --- src/northbridge/amd/pi/agesawrapper.c | 2 +- src/northbridge/amd/pi/agesawrapper.h | 5 ----- 2 files changed, 1 insertion(+), 6 deletions(-) (limited to 'src/northbridge/amd') diff --git a/src/northbridge/amd/pi/agesawrapper.c b/src/northbridge/amd/pi/agesawrapper.c index a1fbc1d96a..4fa353ed0c 100644 --- a/src/northbridge/amd/pi/agesawrapper.c +++ b/src/northbridge/amd/pi/agesawrapper.c @@ -413,7 +413,7 @@ const void *agesawrapper_locate_module (const CHAR8 name[8]) agesa = (void *)CONFIG_AGESA_BINARY_PI_LOCATION; file_size = 0x100000; } else { - agesa = cbfs_boot_map_with_leak((const char *)CONFIG_CBFS_AGESA_NAME, + agesa = cbfs_boot_map_with_leak((const char *)CONFIG_AGESA_CBFS_NAME, CBFS_TYPE_RAW, &file_size); } diff --git a/src/northbridge/amd/pi/agesawrapper.h b/src/northbridge/amd/pi/agesawrapper.h index b8d1f4a3bd..e2a3324b3a 100644 --- a/src/northbridge/amd/pi/agesawrapper.h +++ b/src/northbridge/amd/pi/agesawrapper.h @@ -20,11 +20,6 @@ #include "Porting.h" #include "AGESA.h" -/* TODO: Add a kconfig option to name the AGESA ROM file in CBFS */ -#ifndef CONFIG_CBFS_AGESA_NAME -#define CONFIG_CBFS_AGESA_NAME "AGESA" -#endif - enum { PICK_DMI, /* DMI Interface */ PICK_PSTATE, /* Acpi Pstate SSDT Table */ -- cgit v1.2.3