powerpc: Get rid of ppc_md.init_early()

It is now called right after platform probe, so the probe function
can just do the job.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Cette révision appartient à :
Benjamin Herrenschmidt
2016-07-05 15:04:06 +10:00
révisé par Michael Ellerman
Parent 5657138404
révision f2d576948d
15 fichiers modifiés avec 43 ajouts et 60 suppressions

Voir le fichier

@@ -263,9 +263,6 @@ void __init setup_arch(char **cmdline_p)
setup_power_save();
if (ppc_md.init_early)
ppc_md.init_early();
find_legacy_serial_ports();
smp_setup_cpu_maps();

Voir le fichier

@@ -511,14 +511,6 @@ void __init setup_system(void)
/* 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
* related options that will be used by finish_device_tree()
*/
if (ppc_md.init_early)
ppc_md.init_early();
/*
* We can discover serial ports now since the above did setup the
* hash table management for us, thus ioremap works. We do that early