diff options
author | Gregory CLEMENT <gregory.clement@free-electrons.com> | 2014-10-30 12:39:41 +0100 |
---|---|---|
committer | Jason Cooper <jason@lakedaemon.net> | 2014-11-22 02:13:24 +0000 |
commit | 316fbbc400875c647c3a220c7525ffa8d2c80306 (patch) | |
tree | 0a97dc5acad7d340a16e098f2a638b636877a2ed /arch/arm/mach-mvebu/board-v7.c | |
parent | e12f12ac1a3245d0f5d751de63d20d8dded03fc3 (diff) | |
download | linux-316fbbc400875c647c3a220c7525ffa8d2c80306.tar.gz linux-316fbbc400875c647c3a220c7525ffa8d2c80306.tar.bz2 linux-316fbbc400875c647c3a220c7525ffa8d2c80306.zip |
ARM: mvebu: Clean-up the Armada XP support
This patch removes the unneeded include of the armada-370-xp.h header.
It also moves some declarations from this file into more accurate
places.
Finally, it also adds a comment explaining that we can't remove yet the
smp field in the dt machine struct due to backward compatibly of the
device tree.
In a few releases, when the old device tree will be obsolete, we will be
able to remove the smp field and then the armada-370-xp.h header.
Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
Tested-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Link: https://lkml.kernel.org/r/1414669184-16785-2-git-send-email-gregory.clement@free-electrons.com
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
Diffstat (limited to 'arch/arm/mach-mvebu/board-v7.c')
-rw-r--r-- | arch/arm/mach-mvebu/board-v7.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/mach-mvebu/board-v7.c b/arch/arm/mach-mvebu/board-v7.c index d965d0c0ef2d..e15ead876a48 100644 --- a/arch/arm/mach-mvebu/board-v7.c +++ b/arch/arm/mach-mvebu/board-v7.c @@ -142,6 +142,11 @@ static const char * const armada_370_xp_dt_compat[] = { 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, |