powerpc/64: Move 64-bit probe_machine() to later in the boot process
We no long need the machine type that early, so we can move probe_machine() to after the device-tree has been expanded. This will allow further consolidation. Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
This commit is contained in:

committed by
Michael Ellerman

parent
84b62c72fa
commit
406b0b6ae3
@@ -301,9 +301,6 @@ void __init early_setup(unsigned long dt_ptr)
|
||||
setup_paca(&paca[boot_cpuid]);
|
||||
fixup_boot_paca();
|
||||
|
||||
/* Probe the machine type */
|
||||
probe_machine();
|
||||
|
||||
/*
|
||||
* Configure exception handlers. This include setting up trampolines
|
||||
* if needed, setting exception endian mode, etc...
|
||||
@@ -511,6 +508,9 @@ void __init setup_system(void)
|
||||
*/
|
||||
check_for_initrd();
|
||||
|
||||
/* Probe the machine type */
|
||||
probe_machine();
|
||||
|
||||
/*
|
||||
* Do some platform specific early initializations, that includes
|
||||
* setting up the hash table pointers. It also sets up some interrupt-mapping
|
||||
|
Reference in New Issue
Block a user