diff mbox

[U-Boot,v2,2/2] mx6: add example DTB for mx6qsabreauto

Message ID 1396252236-486-2-git-send-email-sbabic@denx.de
State Accepted
Delegated to: Stefano Babic
Headers show

Commit Message

Stefano Babic March 31, 2014, 7:50 a.m. UTC
Signed-off-by: Stefano Babic <sbabic@denx.de>
CC: Fabio Estevam <fabio.estevam@freescale.com>

---

Changes in v2:
- Use the same dts name as in kernel: imx6q-sabreauto.dts (Fabio Estevam, Lars Steubesand)

 arch/arm/dts/Makefile            |    1 +
 arch/arm/dts/imx6q-sabreauto.dts |   13 +++++++++++++
 include/configs/mx6qsabreauto.h  |    3 +++
 3 files changed, 17 insertions(+)
 create mode 100644 arch/arm/dts/imx6q-sabreauto.dts

Comments

Masahiro Yamada April 9, 2014, 2:19 a.m. UTC | #1
Hi Stefano,


On Mon, 31 Mar 2014 09:50:36 +0200
Stefano Babic <sbabic@denx.de> wrote:

> Signed-off-by: Stefano Babic <sbabic@denx.de>
> CC: Fabio Estevam <fabio.estevam@freescale.com>
> 
> ---
> 
> Changes in v2:
> - Use the same dts name as in kernel: imx6q-sabreauto.dts (Fabio Estevam, Lars Steubesand)
> 
>  arch/arm/dts/Makefile            |    1 +
>  arch/arm/dts/imx6q-sabreauto.dts |   13 +++++++++++++
>  include/configs/mx6qsabreauto.h  |    3 +++
>  3 files changed, 17 insertions(+)
>  create mode 100644 arch/arm/dts/imx6q-sabreauto.dts
> 
> diff --git a/arch/arm/dts/Makefile b/arch/arm/dts/Makefile
> index e2fcca5..6acd861 100644
> --- a/arch/arm/dts/Makefile
> +++ b/arch/arm/dts/Makefile
> @@ -2,6 +2,7 @@ dtb-$(CONFIG_EXYNOS5) += exynos5250-arndale.dtb \
>  	exynos5250-snow.dtb \
>  	exynos5250-smdk5250.dtb \
>  	exynos5420-smdk5420.dtb
> +dtb-$(CONFIG_MX6) += imx6q-sabreauto.dtb
>  dtb-$(CONFIG_TEGRA) += tegra20-harmony.dtb \
>  	tegra20-medcom-wide.dtb \
>  	tegra20-paz00.dtb \
> diff --git a/arch/arm/dts/imx6q-sabreauto.dts b/arch/arm/dts/imx6q-sabreauto.dts
> new file mode 100644
> index 0000000..a3c9c91
> --- /dev/null
> +++ b/arch/arm/dts/imx6q-sabreauto.dts
> @@ -0,0 +1,13 @@
> +/*
> +    + * Copyright 2012 Freescale Semiconductor, Inc.
> +    + * Copyright 2011 Linaro Ltd.
> +    + *
> +    + * SPDX-License-Identifier:     GPL-2.0+
> +    + */
> +

This patch has been applied, but the license block
 in arch/arm/dts/imx6q-sabreauto.dts looks weird.

Could you fix the broken format in a follow-up patch?



Best Regards
Masahiro Yamada
Stefano Babic April 9, 2014, 6:56 a.m. UTC | #2
Hi Masahiro,

On 09/04/2014 04:19, Masahiro Yamada wrote:

>> --- /dev/null
>> +++ b/arch/arm/dts/imx6q-sabreauto.dts
>> @@ -0,0 +1,13 @@
>> +/*
>> +    + * Copyright 2012 Freescale Semiconductor, Inc.
>> +    + * Copyright 2011 Linaro Ltd.
>> +    + *
>> +    + * SPDX-License-Identifier:     GPL-2.0+
>> +    + */
>> +
> 
> This patch has been applied, but the license block
>  in arch/arm/dts/imx6q-sabreauto.dts looks weird.

It is ! Thanks to have noted it !

> 
> Could you fix the broken format in a follow-up patch?

Of course !

Best regards,
Stefano Babic
diff mbox

Patch

diff --git a/arch/arm/dts/Makefile b/arch/arm/dts/Makefile
index e2fcca5..6acd861 100644
--- a/arch/arm/dts/Makefile
+++ b/arch/arm/dts/Makefile
@@ -2,6 +2,7 @@  dtb-$(CONFIG_EXYNOS5) += exynos5250-arndale.dtb \
 	exynos5250-snow.dtb \
 	exynos5250-smdk5250.dtb \
 	exynos5420-smdk5420.dtb
+dtb-$(CONFIG_MX6) += imx6q-sabreauto.dtb
 dtb-$(CONFIG_TEGRA) += tegra20-harmony.dtb \
 	tegra20-medcom-wide.dtb \
 	tegra20-paz00.dtb \
diff --git a/arch/arm/dts/imx6q-sabreauto.dts b/arch/arm/dts/imx6q-sabreauto.dts
new file mode 100644
index 0000000..a3c9c91
--- /dev/null
+++ b/arch/arm/dts/imx6q-sabreauto.dts
@@ -0,0 +1,13 @@ 
+/*
+    + * Copyright 2012 Freescale Semiconductor, Inc.
+    + * Copyright 2011 Linaro Ltd.
+    + *
+    + * SPDX-License-Identifier:     GPL-2.0+
+    + */
+
+/dts-v1/;
+
+/ {
+	model = "Freescale i.MX6 Quad SABRE Automotive Board";
+	compatible = "fsl,imx6q-sabreauto", "fsl,imx6q";
+};
diff --git a/include/configs/mx6qsabreauto.h b/include/configs/mx6qsabreauto.h
index dbbb6f0..bd0144f 100644
--- a/include/configs/mx6qsabreauto.h
+++ b/include/configs/mx6qsabreauto.h
@@ -41,4 +41,7 @@ 
 #define CONFIG_SYS_I2C_MXC
 #define CONFIG_SYS_I2C_SPEED		100000
 
+#define CONFIG_OF_SEPARATE
+#define CONFIG_DEFAULT_DEVICE_TREE   imx6q-sabreauto
+
 #endif                         /* __MX6QSABREAUTO_CONFIG_H */