提交 13d46ab2 编写于 作者: K Kumar Gala

ppc/8xxx: relocate cpu pointer in global data

Now that we have a pointer to the cpu struct we need to relocate it once
we get into ram.
Signed-off-by: NKumar Gala <galak@kernel.crashing.org>
上级 9c671e70
......@@ -655,6 +655,10 @@ void board_init_r (gd_t *id, ulong dest_addr)
TOTAL_MALLOC_LEN;
#endif
#if defined(CONFIG_MPC85xx) || defined(CONFIG_MPC86xx)
gd->cpu += gd->reloc_off;
#endif
#ifdef CONFIG_SERIAL_MULTI
serial_initialize();
#endif
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册