From 58175c701027a7b534b714d6f6fc228de8432b96 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ky=C3=B6sti=20M=C3=A4lkki?= Date: Sun, 3 Jun 2018 07:03:37 +0300 Subject: AGESA binaryPI: Drop tests for LATE_CBMEM_INIT MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I4571e8b560559b3d7afe429eca8caa1512e244a8 Signed-off-by: Kyösti Mälkki Reviewed-on: https://review.coreboot.org/26811 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth --- src/drivers/amd/agesa/romstage.c | 3 --- src/soc/amd/common/block/pi/heapmanager.c | 3 --- 2 files changed, 6 deletions(-) diff --git a/src/drivers/amd/agesa/romstage.c b/src/drivers/amd/agesa/romstage.c index 197a007a21..c42792716c 100644 --- a/src/drivers/amd/agesa/romstage.c +++ b/src/drivers/amd/agesa/romstage.c @@ -29,9 +29,6 @@ #include #include -#if IS_ENABLED(CONFIG_LATE_CBMEM_INIT) -#error "Only EARLY_CBMEM_INIT is supported." -#endif #if !IS_ENABLED(CONFIG_POSTCAR_STAGE) #error "Only POSTCAR_STAGE is supported." #endif diff --git a/src/soc/amd/common/block/pi/heapmanager.c b/src/soc/amd/common/block/pi/heapmanager.c index 54b0cbc0bb..63db1ce265 100644 --- a/src/soc/amd/common/block/pi/heapmanager.c +++ b/src/soc/amd/common/block/pi/heapmanager.c @@ -148,9 +148,6 @@ static void ConcatenateNodes(BIOS_BUFFER_NODE *FirstNodePtr, memset(SecondNodePtr, 0, sizeof(BIOS_BUFFER_NODE)); } -#if IS_ENABLED(CONFIG_LATE_CBMEM_INIT) -#error "Only EARLY_CBMEM_INIT is supported." -#endif ROMSTAGE_CBMEM_INIT_HOOK(EmptyHeap) AGESA_STATUS agesa_AllocateBuffer (UINT32 Func, UINTN Data, VOID *ConfigPtr) -- cgit v1.2.3