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/soc/amd/common/agesawrapper.c | 2 +- src/soc/amd/common/agesawrapper.h | 5 ----- 2 files changed, 1 insertion(+), 6 deletions(-) (limited to 'src/soc/amd') diff --git a/src/soc/amd/common/agesawrapper.c b/src/soc/amd/common/agesawrapper.c index 7735d24e94..3ad487169e 100644 --- a/src/soc/amd/common/agesawrapper.c +++ b/src/soc/amd/common/agesawrapper.c @@ -403,7 +403,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/soc/amd/common/agesawrapper.h b/src/soc/amd/common/agesawrapper.h index 03429fc7f2..97d52f7c10 100644 --- a/src/soc/amd/common/agesawrapper.h +++ b/src/soc/amd/common/agesawrapper.h @@ -20,11 +20,6 @@ #include #include -/* 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