* [PATCH v2 1/2] ARM: mach-imx: Remove board entries in dt_board_compat
@ 2012-08-15 14:26 Fabio Estevam
2012-08-15 14:26 ` [PATCH v2 2/2] ARM: mach-mxs: " Fabio Estevam
2012-08-15 14:49 ` [PATCH v2 1/2] ARM: mach-imx: " Shawn Guo
0 siblings, 2 replies; 3+ messages in thread
From: Fabio Estevam @ 2012-08-15 14:26 UTC (permalink / raw)
To: linux-arm-kernel
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 v1:
- Rebased against 3.6-rc
---
arch/arm/mach-imx/imx51-dt.c | 1 -
arch/arm/mach-imx/imx53-dt.c | 4 ----
arch/arm/mach-imx/mach-imx6q.c | 3 ---
3 files changed, 8 deletions(-)
diff --git a/arch/arm/mach-imx/imx51-dt.c b/arch/arm/mach-imx/imx51-dt.c
index d4067fe..8604165 100644
--- a/arch/arm/mach-imx/imx51-dt.c
+++ b/arch/arm/mach-imx/imx51-dt.c
@@ -79,7 +79,6 @@ static struct sys_timer imx51_timer = {
};
static const char *imx51_dt_board_compat[] __initdata = {
- "fsl,imx51-babbage",
"fsl,imx51",
NULL
};
diff --git a/arch/arm/mach-imx/imx53-dt.c b/arch/arm/mach-imx/imx53-dt.c
index 1b7a2fc..d193d8f 100644
--- a/arch/arm/mach-imx/imx53-dt.c
+++ b/arch/arm/mach-imx/imx53-dt.c
@@ -105,10 +105,6 @@ static struct sys_timer imx53_timer = {
};
static const char *imx53_dt_board_compat[] __initdata = {
- "fsl,imx53-ard",
- "fsl,imx53-evk",
- "fsl,imx53-qsb",
- "fsl,imx53-smd",
"fsl,imx53",
NULL
};
diff --git a/arch/arm/mach-imx/mach-imx6q.c b/arch/arm/mach-imx/mach-imx6q.c
index 5ec0608..7a9599f 100644
--- a/arch/arm/mach-imx/mach-imx6q.c
+++ b/arch/arm/mach-imx/mach-imx6q.c
@@ -218,9 +218,6 @@ static struct sys_timer imx6q_timer = {
};
static const char *imx6q_dt_compat[] __initdata = {
- "fsl,imx6q-arm2",
- "fsl,imx6q-sabrelite",
- "fsl,imx6q-sabresd",
"fsl,imx6q",
NULL,
};
--
1.7.9.5
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [PATCH v2 2/2] ARM: mach-mxs: Remove board entries in dt_board_compat
2012-08-15 14:26 [PATCH v2 1/2] ARM: mach-imx: Remove board entries in dt_board_compat Fabio Estevam
@ 2012-08-15 14:26 ` Fabio Estevam
2012-08-15 14:49 ` [PATCH v2 1/2] ARM: mach-imx: " Shawn Guo
1 sibling, 0 replies; 3+ messages in thread
From: Fabio Estevam @ 2012-08-15 14:26 UTC (permalink / raw)
To: linux-arm-kernel
From: fabio <fabio@fabio-Latitude-E6410.(none)>
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 v1:
- Rebased against 3.6-rc1
arch/arm/mach-mxs/mach-mxs.c | 8 --------
1 file changed, 8 deletions(-)
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,
};
--
1.7.9.5
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [PATCH v2 1/2] ARM: mach-imx: Remove board entries in dt_board_compat
2012-08-15 14:26 [PATCH v2 1/2] ARM: mach-imx: Remove board entries in dt_board_compat Fabio Estevam
2012-08-15 14:26 ` [PATCH v2 2/2] ARM: mach-mxs: " Fabio Estevam
@ 2012-08-15 14:49 ` Shawn Guo
1 sibling, 0 replies; 3+ messages in thread
From: Shawn Guo @ 2012-08-15 14:49 UTC (permalink / raw)
To: linux-arm-kernel
On Wed, Aug 15, 2012 at 11:26:30AM -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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-08-15 14:49 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-15 14:26 [PATCH v2 1/2] ARM: mach-imx: Remove board entries in dt_board_compat Fabio Estevam
2012-08-15 14:26 ` [PATCH v2 2/2] ARM: mach-mxs: " Fabio Estevam
2012-08-15 14:49 ` [PATCH v2 1/2] ARM: mach-imx: " Shawn Guo
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).