Merge tag 'mvebu-soc-4.20-1' of git://git.infradead.org/linux-mvebu into next/soc
mvebu soc for 4.20 (part 1) - use dt_fixup to provide fallback for enable-method for Armada XP - document the marvell,prestera compatible string - update Thomas Petazzoni email in MAINTAINERS file * tag 'mvebu-soc-4.20-1' of git://git.infradead.org/linux-mvebu: dt-bindings: marvell,prestera: Add common compatible string MAINTAINERS: replace free-electrons.com by bootlin.com for Thomas Petazzoni ARM: mvebu: use dt_fixup to provide fallback for enable-method Signed-off-by: Arnd Bergmann <arnd@arndb.de>
This commit is contained in:
@@ -145,6 +145,13 @@ static void __init mvebu_dt_init(void)
|
||||
i2c_quirk();
|
||||
}
|
||||
|
||||
static void __init armada_370_xp_dt_fixup(void)
|
||||
{
|
||||
#ifdef CONFIG_SMP
|
||||
smp_set_ops(smp_ops(armada_xp_smp_ops));
|
||||
#endif
|
||||
}
|
||||
|
||||
static const char * const armada_370_xp_dt_compat[] __initconst = {
|
||||
"marvell,armada-370-xp",
|
||||
NULL,
|
||||
@@ -153,17 +160,12 @@ static const char * const armada_370_xp_dt_compat[] __initconst = {
|
||||
DT_MACHINE_START(ARMADA_370_XP_DT, "Marvell Armada 370/XP (Device Tree)")
|
||||
.l2c_aux_val = 0,
|
||||
.l2c_aux_mask = ~0,
|
||||
/*
|
||||
* The following field (.smp) is still needed to ensure backward
|
||||
* compatibility with old Device Trees that were not specifying the
|
||||
* cpus enable-method property.
|
||||
*/
|
||||
.smp = smp_ops(armada_xp_smp_ops),
|
||||
.init_machine = mvebu_dt_init,
|
||||
.init_irq = mvebu_init_irq,
|
||||
.restart = mvebu_restart,
|
||||
.reserve = mvebu_memblock_reserve,
|
||||
.dt_compat = armada_370_xp_dt_compat,
|
||||
.dt_fixup = armada_370_xp_dt_fixup,
|
||||
MACHINE_END
|
||||
|
||||
static const char * const armada_375_dt_compat[] __initconst = {
|
||||
|
Reference in New Issue
Block a user