diff options
author | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2017-05-27 20:53:29 +0300 |
---|---|---|
committer | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2017-07-11 06:50:47 +0000 |
commit | 7104fe261841ad40e11656becc6d8f54de53104b (patch) | |
tree | ac5fbd3231481f209e18dbc9f9b0f992d756ad35 /src/northbridge/amd | |
parent | bf2d219996123d1f44f66f91a210a54d52113e87 (diff) |
binaryPI: Define AGESA blob in CBFS as Kconfig string
Change-Id: I0f78cb275ecad732f81c609564a0640f03d2559e
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: https://review.coreboot.org/19983
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Marc Jones <marc@marcjonesconsulting.com>
Reviewed-by: Marshall Dawson <marshalldawson3rd@gmail.com>
Diffstat (limited to 'src/northbridge/amd')
-rw-r--r-- | src/northbridge/amd/pi/agesawrapper.c | 2 | ||||
-rw-r--r-- | src/northbridge/amd/pi/agesawrapper.h | 5 |
2 files changed, 1 insertions, 6 deletions
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 */ |