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>
This commit is contained in:
parent
191c008a21
commit
069f5481ba
|
@ -99,3 +99,8 @@ void panic_puts(const char *str)
|
||||||
while (*str)
|
while (*str)
|
||||||
NS16550_putc(port, *str++);
|
NS16550_putc(port, *str++);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
int misc_init_r(void)
|
||||||
|
{
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
|
@ -20,6 +20,7 @@
|
||||||
|
|
||||||
#define CONFIG_DCACHE_RAM_MRC_VAR_SIZE 0x4000
|
#define CONFIG_DCACHE_RAM_MRC_VAR_SIZE 0x4000
|
||||||
#define CONFIG_BOARD_EARLY_INIT_F
|
#define CONFIG_BOARD_EARLY_INIT_F
|
||||||
|
#define CONFIG_MISC_INIT_R
|
||||||
|
|
||||||
#define CONFIG_NR_DRAM_BANKS 8
|
#define CONFIG_NR_DRAM_BANKS 8
|
||||||
#define CONFIG_X86_MRC_ADDR 0xfffa0000
|
#define CONFIG_X86_MRC_ADDR 0xfffa0000
|
||||||
|
|
Loading…
Reference in New Issue