Kyösti Mälkki (kyosti.malkki@gmail.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/4781
-gerrit
commit dc796df8e1796ae322f1de790d83aa81ba307464 Author: Kyösti Mälkki kyosti.malkki@gmail.com Date: Wed Jan 22 22:03:31 2014 +0200
lenovo/x230: Fix CBMEM
Fix build. Changes to static CBMEM functions were written before this board was in tree.
Change-Id: I6b20d0c2815337edc330d384a409f1f939727c2b Signed-off-by: Kyösti Mälkki kyosti.malkki@gmail.com --- src/mainboard/lenovo/x230/romstage.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/src/mainboard/lenovo/x230/romstage.c b/src/mainboard/lenovo/x230/romstage.c index cfd0518..00ce5a6 100644 --- a/src/mainboard/lenovo/x230/romstage.c +++ b/src/mainboard/lenovo/x230/romstage.c @@ -252,7 +252,9 @@ void main(unsigned long bist) post_code(0x3e);
MCHBAR16(SSKPD) = 0xCAFE; - cbmem_was_initted = !cbmem_initialize(); + cbmem_was_initted = !cbmem_recovery(boot_mode==2); + if (boot_mode!=2) + save_mrc_data(&pei_data);
#if CONFIG_HAVE_ACPI_RESUME /* If there is no high memory area, we didn't boot before, so