浏览代码

ARM i.MX5/6: Add dt support for generic boards

Apart from the iomux setup which may not be needed on custom
boards the kernel starts fine using the devicetree, so add
generic boards to the dt_compat entries.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Sascha Hauer 13 年之前
父节点
当前提交
3f8976d90b
共有 3 个文件被更改,包括 3 次插入0 次删除
  1. 1 0
      arch/arm/mach-imx/imx51-dt.c
  2. 1 0
      arch/arm/mach-imx/imx53-dt.c
  3. 1 0
      arch/arm/mach-imx/mach-imx6q.c

+ 1 - 0
arch/arm/mach-imx/imx51-dt.c

@@ -104,6 +104,7 @@ static struct sys_timer imx51_timer = {
 
 static const char *imx51_dt_board_compat[] __initdata = {
 	"fsl,imx51-babbage",
+	"fsl,imx51",
 	NULL
 };
 

+ 1 - 0
arch/arm/mach-imx/imx53-dt.c

@@ -114,6 +114,7 @@ static const char *imx53_dt_board_compat[] __initdata = {
 	"fsl,imx53-evk",
 	"fsl,imx53-qsb",
 	"fsl,imx53-smd",
+	"fsl,imx53",
 	NULL
 };
 

+ 1 - 0
arch/arm/mach-imx/mach-imx6q.c

@@ -128,6 +128,7 @@ static struct sys_timer imx6q_timer = {
 static const char *imx6q_dt_compat[] __initdata = {
 	"fsl,imx6q-arm2",
 	"fsl,imx6q-sabrelite",
+	"fsl,imx6q",
 	NULL,
 };