ARM: mach-imx: Remove board entries in dt_board_compat
Subsystems (3)
Fabio Estevam
reviewerPATCH v2 1/2 ARM: mach-imx: Remove board entries in dt_board_compat
From: Fabio Estevam <[email protected]>
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.
--
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(-)
arch/arm/mach-imx/imx51-dt.c +0 -1
@@ -79,7 +79,6 @@ static struct sys_timer imx51_timer = { };static const char *imx51_dt_board_compat[]__initdata = { -"fsl,imx51-babbage" ,"fsl,imx51" ,NULL };
arch/arm/mach-imx/imx53-dt.c +0 -4
@@ -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 };
arch/arm/mach-imx/mach-imx6q.c +0 -3
@@ -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 , };
Signature · 1 line
1.7.9.5
Fabio Estevam
reviewerPATCH v2 2/2 ARM: mach-mxs: Remove board entries in dt_board_compat
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.
--
Changes since v1:
- Rebased against 3.6-rc1
arch/arm/mach-mxs/mach-mxs.c | 8 -------- 1 file changed, 8 deletions(-)
arch/arm/mach-mxs/mach-mxs.c +0 -8
@@ -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 , };
Signature · 1 line
1.7.9.5
Shawn Guo
AppliedPATCH v2 1/2 ARM: mach-imx: Remove board entries in dt_board_compat
In reply to Fabio EstevamQuoted 9 lines · Fabio Estevam
From: Fabio Estevam <[email protected]>
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 <[email protected]>
Applied, thanks.
Regards,
Shawn