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>
Reviewed-on: http://review.coreboot.org/4781
Tested-by: build bot (Jenkins)
Reviewed-by: Vladimir Serbinenko <phcoder@gmail.com>
This commit is contained in:
Kyösti Mälkki 2014-01-22 22:03:31 +02:00
parent fa8cedae2a
commit 6f1d26e258
1 changed files with 3 additions and 1 deletions

View File

@ -252,7 +252,9 @@ void main(unsigned long bist)
post_code(0x3e); post_code(0x3e);
MCHBAR16(SSKPD) = 0xCAFE; 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 CONFIG_HAVE_ACPI_RESUME
/* If there is no high memory area, we didn't boot before, so /* If there is no high memory area, we didn't boot before, so