Patchwork [v3,2/2] ARM: mach-mxs: Remove board entries in dt_board_compat

login
register
mail settings
Submitter Fabio Estevam
Date Aug. 15, 2012, 2:29 p.m.
Message ID <1345040940-3045-1-git-send-email-festevam@gmail.com>
Download mbox | patch
Permalink /patch/177678/
State New
Headers show

Comments

Fabio Estevam - Aug. 15, 2012, 2:29 p.m.
From: Fabio Estevam <fabio.estevam@freescale.com>

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>
--
Changes since v2:
- Fix From field
Changes since v1:
- Rebased against 3.6-rc1
 arch/arm/mach-mxs/mach-mxs.c |    8 --------
 1 file changed, 8 deletions(-)
Shawn Guo - Aug. 15, 2012, 3 p.m.
On Wed, Aug 15, 2012 at 11:29:00AM -0300, Fabio Estevam wrote:
> From: Fabio Estevam <fabio.estevam@freescale.com>
> 
> 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>

Applied, thanks.

Regards,
Shawn

Patch

diff --git a/arch/arm/mach-mxs/mach-mxs.c b/arch/arm/mach-mxs/mach-mxs.c
index 8dabfe8..fb453fd 100644
--- a/arch/arm/mach-mxs/mach-mxs.c
+++ b/arch/arm/mach-mxs/mach-mxs.c
@@ -286,19 +286,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,
 };