[coreboot] Patch merged into coreboot/master: 710fe3b Initialize CBMEM early.
gerrit at coreboot.org
gerrit at coreboot.org
Wed Mar 28 20:40:02 CEST 2012
the following patch was just integrated into master:
commit 710fe3bd556cc9de1e7067a4ca22e19b97475b1b
Author: Vadim Bendebury <vbendeb at chromium.org>
Date: Tue Sep 20 17:07:14 2011 -0700
Initialize CBMEM early.
We want to be able to share data between different phases of firmware
(rom stage/ram stage/payload). Coreboot CBMEM seems an appropriate
location for this data, but normally it is not initialized
until coreboot reaches the ram stage.
This change initializes the CBMEM while still in rom stage in
case CONFIG_EARLY_CBMEM_INIT is set.
Note that there is a discrepancy in how coreboot determines the
size of DRAM at rom and ram stages, get_top_of_ram() is used at
rom stage and is not defined for all platforms. Those platforms
will have to define this function should they enable the
CONFIG_EARLY_CBMEM_INIT flag.
Change-Id: I81691d45e28de59496fb227f2cca4e8c15ece717
Signed-off-by: Vadim Bendebury <vbendeb at chromium.org>
Build-Tested: build bot (Jenkins) at Fri Mar 9 06:53:47 2012, giving +1
See http://review.coreboot.org/711 for details.
-gerrit
More information about the coreboot
mailing list