Doc/4.17-relnotes.md: Add updated CBMEM_INIT hooks

Change-Id: I417bab99eeb7ec91fcb39d092d396580ad02ef23
Signed-off-by: Arthur Heymans <arthur@aheymans.xyz>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/64484
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Raul Rangel <rrangel@chromium.org>
Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
This commit is contained in:
Arthur Heymans 2022-05-18 21:58:36 +02:00
parent fa3bc049f5
commit f4905da14c
1 changed files with 12 additions and 0 deletions

View File

@ -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