powerpc: Initialize btext subsystem later, after prom_init
We were initializing the btext stuff from prom_init(), thus breaking the rule that all communication between prom_init() and the rest of the kernel has to be via the flattened device tree. This removes the btext initialization calls from prom_init() and initializes it instead after the device tree is unflattened. It would be nice to do it earlier, but that needs some more infrastructure to find the properties we need in the flattened device tree. Signed-off-by: Paul Mackerras <paulus@samba.org>
This commit is contained in:
@ -188,13 +188,6 @@ void __init MMU_init(void)
|
||||
|
||||
if (ppc_md.progress)
|
||||
ppc_md.progress("MMU:exit", 0x211);
|
||||
|
||||
#ifdef CONFIG_BOOTX_TEXT
|
||||
/* By default, we are no longer mapped */
|
||||
boot_text_mapped = 0;
|
||||
/* Must be done last, or ppc_md.progress will die. */
|
||||
map_boot_text();
|
||||
#endif
|
||||
}
|
||||
|
||||
/* This is only called until mem_init is done. */
|
||||
|
Reference in New Issue
Block a user