[U-Boot] arm: tegra: Restore host1x/dc dm-pre-reloc properties

Message ID 20180711151948.21779-1-kwizart@gmail.com
State New
Delegated to: Tom Warren
Headers show
Series
  • [U-Boot] arm: tegra: Restore host1x/dc dm-pre-reloc properties
Related show

Commit Message

Nicolas Chauvet July 11, 2018, 3:19 p.m.
Since commit f2faffecbd, tegra: Convert to use binman
the dm-pre-reloc properties are removed.

This lead uboot not to enable the display on paz00

This patch restore the dm-pre-reloc properties allowing
the bootloader to output to the display panel

Signed-off-by: Nicolas Chauvet <kwizart@gmail.com>
---
 arch/arm/dts/tegra20-u-boot.dtsi | 10 ++++++++++
 1 file changed, 10 insertions(+)

Comments

Stephen Warren July 11, 2018, 4:45 p.m. | #1
On 07/11/2018 09:19 AM, Nicolas Chauvet wrote:
> Since commit f2faffecbd, tegra: Convert to use binman
> the dm-pre-reloc properties are removed.

That commit hash is ambiguous; can we add a few more characters (e.g. 
"f2faffecb016")?

Thanks for tracking this down.
Simon Glass July 11, 2018, 5:09 p.m. | #2
On 11 July 2018 at 09:19, Nicolas Chauvet <kwizart@gmail.com> wrote:
> Since commit f2faffecbd, tegra: Convert to use binman
> the dm-pre-reloc properties are removed.
>
> This lead uboot not to enable the display on paz00

This leads U-Boot ...

>
> This patch restore the dm-pre-reloc properties allowing
> the bootloader to output to the display panel
>
> Signed-off-by: Nicolas Chauvet <kwizart@gmail.com>
> ---
>  arch/arm/dts/tegra20-u-boot.dtsi | 10 ++++++++++
>  1 file changed, 10 insertions(+)

Reviewed-by: Simon Glass <sjg@chromium.org>

>
> diff --git a/arch/arm/dts/tegra20-u-boot.dtsi b/arch/arm/dts/tegra20-u-boot.dtsi
> index 7c11972552..f64667e549 100644
> --- a/arch/arm/dts/tegra20-u-boot.dtsi
> +++ b/arch/arm/dts/tegra20-u-boot.dtsi
> @@ -1,3 +1,13 @@
>  #include <config.h>
>
>  #include "tegra-u-boot.dtsi"
> +
> +
> +/ {
> +       host1x@50000000 {
> +               u-boot,dm-pre-reloc;
> +               dc@54200000 {
> +                       u-boot,dm-pre-reloc;
> +               };
> +       };
> +};
> --
> 2.17.1
>

Patch

diff --git a/arch/arm/dts/tegra20-u-boot.dtsi b/arch/arm/dts/tegra20-u-boot.dtsi
index 7c11972552..f64667e549 100644
--- a/arch/arm/dts/tegra20-u-boot.dtsi
+++ b/arch/arm/dts/tegra20-u-boot.dtsi
@@ -1,3 +1,13 @@ 
 #include <config.h>
 
 #include "tegra-u-boot.dtsi"
+
+
+/ {
+	host1x@50000000 {
+		u-boot,dm-pre-reloc;
+		dc@54200000 {
+			u-boot,dm-pre-reloc;
+		};
+	};
+};