diff mbox series

[U-Boot,v2,2/9] dts: imx28: Remove #include "imx28.dtsi" from imx28-u-boot.dtsi file

Message ID 20190818213603.28171-3-lukma@denx.de
State Superseded
Delegated to: Stefano Babic
Headers show
Series imx: mxs: Fixes and DM/DTS conversion code for several i.MX28 drivers | expand

Commit Message

Lukasz Majewski Aug. 18, 2019, 9:35 p.m. UTC
After this change it is possible to use imx28-<board>-u-boot.dtsi with
the imx28-u-boot.dtsi explicitly included without breaking setup from
imx28-<board>.dts file.

The problem is that the imx28.dtsi included in a wrong place overrides the
changes made in imx28-<board>.dts. As a result some devices are "disabled"
in the final DTB.

Signed-off-by: Lukasz Majewski <lukma@denx.de>
---

Changes in v2: None

 arch/arm/dts/imx28-u-boot.dtsi | 1 -
 1 file changed, 1 deletion(-)

Comments

Peng Fan Aug. 19, 2019, 1:20 a.m. UTC | #1
> Subject: [PATCH v2 2/9] dts: imx28: Remove #include "imx28.dtsi" from
> imx28-u-boot.dtsi file
> 
> After this change it is possible to use imx28-<board>-u-boot.dtsi with the
> imx28-u-boot.dtsi explicitly included without breaking setup from
> imx28-<board>.dts file.
> 
> The problem is that the imx28.dtsi included in a wrong place overrides the
> changes made in imx28-<board>.dts. As a result some devices are "disabled"
> in the final DTB.
> 
> Signed-off-by: Lukasz Majewski <lukma@denx.de>
> ---
> 
> Changes in v2: None
> 
>  arch/arm/dts/imx28-u-boot.dtsi | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/arch/arm/dts/imx28-u-boot.dtsi
> b/arch/arm/dts/imx28-u-boot.dtsi index d545b402a7..9db72a6be3 100644
> --- a/arch/arm/dts/imx28-u-boot.dtsi
> +++ b/arch/arm/dts/imx28-u-boot.dtsi
> @@ -5,7 +5,6 @@
>   *
>   * SPDX-License-Identifier:     GPL-2.0+ or X11
>   */
> -#include "imx28.dtsi"
> 
>  &gpio0 {
>  	gpio-ranges = <&pinctrl 0 0 29>;

Reviewed-by: Peng Fan <peng.fan@nxp.com>

> --
> 2.11.0
diff mbox series

Patch

diff --git a/arch/arm/dts/imx28-u-boot.dtsi b/arch/arm/dts/imx28-u-boot.dtsi
index d545b402a7..9db72a6be3 100644
--- a/arch/arm/dts/imx28-u-boot.dtsi
+++ b/arch/arm/dts/imx28-u-boot.dtsi
@@ -5,7 +5,6 @@ 
  *
  * SPDX-License-Identifier:     GPL-2.0+ or X11
  */
-#include "imx28.dtsi"
 
 &gpio0 {
 	gpio-ranges = <&pinctrl 0 0 29>;