ARM: mach-mxs: Remove board entries in dt_board_compat
authorFabio Estevam <fabio.estevam@freescale.com>
Wed, 15 Aug 2012 14:29:00 +0000 (11:29 -0300)
committerShawn Guo <shawn.guo@linaro.org>
Fri, 17 Aug 2012 04:30:25 +0000 (12:30 +0800)
There is no need for adding board related entries into dt_board_compat.

Leave only the SoC entry.

This way we do not need to patch a C file when adding dt support for
a new board.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
arch/arm/mach-mxs/mach-mxs.c

index 02d1ab2a27f2797ca208439ba6c1a840e9481b63..ceb739844780506b6e66ab168123ae8c9b549f30 100644 (file)
@@ -289,19 +289,11 @@ static void __init mxs_machine_init(void)
 }
 
 static const char *imx23_dt_compat[] __initdata = {
-       "fsl,imx23-evk",
-       "fsl,stmp378x_devb"
-       "olimex,imx23-olinuxino",
        "fsl,imx23",
        NULL,
 };
 
 static const char *imx28_dt_compat[] __initdata = {
-       "bluegiga,apx4devkit",
-       "crystalfontz,cfa10036",
-       "denx,m28evk",
-       "fsl,imx28-evk",
-       "karo,tx28",
        "fsl,imx28",
        NULL,
 };