the following patch was just integrated into master: commit 1de648e272a7da523f05ca9d19226a308c1af852 Author: Kyösti Mälkki kyosti.malkki@gmail.com Date: Tue May 26 06:46:41 2015 +0300
CBMEM console: Fix buffer without EARLY_CBMEM_INIT
On S3 resume, CBMEM_ID_CONSOLE from previous boot is found in ramstage, even when romstage did not create it. So buffer did not get cleared on S3 resume path.
Also do not allocate for preram_cbmem_console in CAR when there are no means to back it up to ram.
Change-Id: I175cebbb938adf2a7414703fefffb8da796e9fa9 Signed-off-by: Kyösti Mälkki kyosti.malkki@gmail.com Reviewed-on: http://review.coreboot.org/10301 Reviewed-by: Aaron Durbin adurbin@chromium.org Tested-by: build bot (Jenkins)
See http://review.coreboot.org/10301 for details.
-gerrit