From 679f923cfc53bd0ead59a6bf56ca7a46bde5c62d Mon Sep 17 00:00:00 2001 From: Marshall Dawson Date: Wed, 28 Mar 2018 16:26:26 -0600 Subject: [PATCH] vc/amd/stoneyridge: Add definition for AGESA heap rebase AgesaHeapRebase is an optional callout that allows AGESA to use a coreboot-managed heap base address. Its internal default location is determined by AMD_HEAP_START_ADDRESS which is defined as 4 MB. Add a #define that AGESA may use once the feature is available. BUG=b:74518368 Change-Id: Id23455779b1c8c4931ad1a3122587e09ad237ecc Signed-off-by: Marshall Dawson Reviewed-on: https://review.coreboot.org/25456 Tested-by: build bot (Jenkins) Reviewed-by: Richard Spiegel --- src/vendorcode/amd/pi/00670F00/AGESA.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/vendorcode/amd/pi/00670F00/AGESA.h b/src/vendorcode/amd/pi/00670F00/AGESA.h index 2b2a8b6b62..ba1e50582c 100644 --- a/src/vendorcode/amd/pi/00670F00/AGESA.h +++ b/src/vendorcode/amd/pi/00670F00/AGESA.h @@ -68,6 +68,7 @@ #define AGESA_IDLE_AN_AP 0x00028107ul #define AGESA_WAIT_FOR_ALL_APS 0x00028108ul #define AGESA_HALT_THIS_AP 0x00028109ul +#define AGESA_HEAP_REBASE 0x0002810aul // AGESA ADVANCED CALLOUTS, Memory #define AGESA_READ_SPD 0x00028140ul