[coreboot-gerrit] New patch to review for coreboot: mb/roda/rk9: Fix cbmem recovery on resume path

Nico Huber (nico.h@gmx.de) gerrit at coreboot.org
Thu Nov 12 20:21:51 CET 2015


Nico Huber (nico.h at gmx.de) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/12420

-gerrit

commit 86328f6450a803f5053efc4f6293c651f991a747
Author: Nico Huber <nico.h at gmx.de>
Date:   Thu Nov 12 20:16:18 2015 +0100

    mb/roda/rk9: Fix cbmem recovery on resume path
    
    Change-Id: Ic24a12d4143d6924321b1d01f07a467c58c4e9ea
    Signed-off-by: Nico Huber <nico.h at gmx.de>
---
 src/mainboard/roda/rk9/romstage.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/mainboard/roda/rk9/romstage.c b/src/mainboard/roda/rk9/romstage.c
index 4066240..e055be9 100644
--- a/src/mainboard/roda/rk9/romstage.c
+++ b/src/mainboard/roda/rk9/romstage.c
@@ -186,7 +186,7 @@ void main(unsigned long bist)
 
 	init_iommu();
 
-	cbmem_initted = !cbmem_recovery(0);
+	cbmem_initted = !cbmem_recovery(s3resume);
 #if CONFIG_HAVE_ACPI_RESUME
 	/* If there is no high memory area, we didn't boot before, so
 	 * this is not a resume. In that case we just create the cbmem toc.



More information about the coreboot-gerrit mailing list