Commit 069f5481ba19b819ef11ba23181a264fc566b180

Authored by Simon Glass
1 parent 191c008a21

x86: config: Enable hook for saving MRC configuration

Add a hook to ensure that this information is saved.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>

Showing 2 changed files with 6 additions and 0 deletions Side-by-side Diff

arch/x86/cpu/coreboot/coreboot.c
... ... @@ -99,4 +99,9 @@
99 99 while (*str)
100 100 NS16550_putc(port, *str++);
101 101 }
  102 +
  103 +int misc_init_r(void)
  104 +{
  105 + return 0;
  106 +}
include/configs/chromebook_link.h
... ... @@ -20,6 +20,7 @@
20 20  
21 21 #define CONFIG_DCACHE_RAM_MRC_VAR_SIZE 0x4000
22 22 #define CONFIG_BOARD_EARLY_INIT_F
  23 +#define CONFIG_MISC_INIT_R
23 24  
24 25 #define CONFIG_NR_DRAM_BANKS 8
25 26 #define CONFIG_X86_MRC_ADDR 0xfffa0000