Source: u-boot
Severity: minor
Tags: patch

Hello.
The attached patch fixes commit 7c66b963.
>From 52f064bbceae7c6fd24268b40fe56a4fcff81e44 Mon Sep 17 00:00:00 2001
From: Arnaud Ferraris <arnaud.ferra...@collabora.com>
Date: Sun, 7 Mar 2021 13:12:16 +0100
Subject: u-boot-install-sunxi: fix device tree model for PinePhone 1.1

In 7c66b963, Nicolas Boulenguez had wrongly deduced the string from
the device tree description, but Arnaud Ferraris does test on the
actual hardware.

diff --git a/debian/bin/u-boot-install-sunxi b/debian/bin/u-boot-install-sunxi
index dc948840be..20a7cd10f9 100755
--- a/debian/bin/u-boot-install-sunxi
+++ b/debian/bin/u-boot-install-sunxi
@@ -38,7 +38,8 @@ if [ -z "$TARGET" ] && [ -f "${dtmodel}" ]; then
                "OrangePi Zero Plus2") 
TARGET="/usr/lib/u-boot/orangepi_zero_plus2/" ;;
                "OrangePi One Plus") 
TARGET="/usr/lib/u-boot/orangepi_one_plus/" ;;
                "Pinebook") TARGET="/usr/lib/u-boot/pinebook" ;;
-               "Pine64 PinePhone (1."[12]")") 
TARGET='/usr/lib/u-boot/pinephone' ;;
+               "Pine64 PinePhone Braveheart (1.1)") 
TARGET='/usr/lib/u-boot/pinephone' ;;
+               "Pine64 PinePhone (1.2)") TARGET='/usr/lib/u-boot/pinephone' ;;
                "Pine64+") TARGET="/usr/lib/u-boot/pine64_plus" ;;
                "Pine64 LTS") TARGET="/usr/lib/u-boot/pine64-lts" ;;
                "PineRiver Mini X-Plus") TARGET="/usr/lib/u-boot/Mini-X" ;;

Reply via email to