x86: config: Enable hook for saving MRC configuration
authorSimon Glass <sjg@chromium.org>
Tue, 20 Jan 2015 05:16:15 +0000 (22:16 -0700)
committerSimon Glass <sjg@chromium.org>
Sat, 24 Jan 2015 13:13:45 +0000 (06:13 -0700)
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>
arch/x86/cpu/coreboot/coreboot.c
include/configs/chromebook_link.h

index 6d06d5af19e5f7f38ce19676f97a0ac25d1803cc..4cdd0d403530a17d3ac8dd9135d2564563aacf21 100644 (file)
@@ -99,3 +99,8 @@ void panic_puts(const char *str)
        while (*str)
                NS16550_putc(port, *str++);
 }
+
+int misc_init_r(void)
+{
+       return 0;
+}
index 7e6d239d13d207c334da837485fc906ecf4ac792..6e8b9efb458205166dac022b56f1213f420657f0 100644 (file)
@@ -20,6 +20,7 @@
 
 #define CONFIG_DCACHE_RAM_MRC_VAR_SIZE         0x4000
 #define CONFIG_BOARD_EARLY_INIT_F
+#define CONFIG_MISC_INIT_R
 
 #define CONFIG_NR_DRAM_BANKS                   8
 #define CONFIG_X86_MRC_ADDR                    0xfffa0000