arm: mvebu: don't list all boards in dt compat field for Armada 370/XP
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Fri, 9 Nov 2012 15:26:26 +0000 (16:26 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Wed, 14 Nov 2012 15:35:05 +0000 (16:35 +0100)
commit61505e117bb5d626ed7db2e9daa791e184d81bd3
tree0b77457e75691ae719658e236d55b17d519716f0
parent92ece1cdd27eee32c53630dc6af6d031b55be199
arm: mvebu: don't list all boards in dt compat field for Armada 370/XP

Instead of listing explicitly all boards in the .dt_compat field of
the DT_MACHINE_START structure for Armada 370/XP, use instead a
compatible string that is common to all boards using the Armada
370/XP.

This allows to add new boards by just using a different Device Tree,
without having to modify the source code of the kernel.

Note that the name of the array containing the compatible string is
also renamed, to reflect the fact that it no longer contains the list
of all boards.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
Tested-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
arch/arm/mach-mvebu/armada-370-xp.c
This page took 0.025062 seconds and 5 git commands to generate.