From f4905da14c860470c80c5a634075fc1774957493 Mon Sep 17 00:00:00 2001 From: Arthur Heymans Date: Wed, 18 May 2022 21:58:36 +0200 Subject: [PATCH] Doc/4.17-relnotes.md: Add updated CBMEM_INIT hooks MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I417bab99eeb7ec91fcb39d092d396580ad02ef23 Signed-off-by: Arthur Heymans Reviewed-on: https://review.coreboot.org/c/coreboot/+/64484 Tested-by: build bot (Jenkins) Reviewed-by: Raul Rangel Reviewed-by: Kyösti Mälkki --- Documentation/releases/coreboot-4.17-relnotes.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/Documentation/releases/coreboot-4.17-relnotes.md b/Documentation/releases/coreboot-4.17-relnotes.md index 4c2a1d56de..30a5835406 100644 --- a/Documentation/releases/coreboot-4.17-relnotes.md +++ b/Documentation/releases/coreboot-4.17-relnotes.md @@ -16,4 +16,16 @@ Update this document with changes that should be in the release notes. Significant changes ------------------- +### CBMEM init hooks changed + +Instead of having per stage x_CBMEM_INIT_HOOK, we now have only 2 hooks: +* CBMEM_CREATION_HOOK: Used only in the first stage that creates cbmem, + typically romstage. For instance code that migrates data from cache + as ram to dram would use this hook. +* CBMEM_READY_HOOK: Used in every stage that has cbmeme. An example would + initializing the cbmem console by appending to what previous stages + logged. +This reason for this change is improved flexibility with regards to which +stage initializes cbmem. + ### Add significant changes here