grub2/0479-Switch-to-use-APM-Mustang-device-tree-for-hardware-t.patch
Peter Jones 8c6b1ac71e Reconcile with upstream once again.
Also include some minor fixes for gcc 5.1.1

Signed-off-by: Peter Jones <pjones@redhat.com>
2015-07-22 09:46:32 -04:00

29 lines
884 B
Diff

From f56fb3d530641525a477888e94bbaa21265a15d0 Mon Sep 17 00:00:00 2001
From: Fedora Ninjas <grub2-owner@fedoraproject.org>
Date: Mon, 10 Feb 2014 16:13:10 -0500
Subject: [PATCH 479/506] Switch to use APM Mustang device tree, for hardware
testing.
Signed-off-by: David A. Marlin <d.marlin@redhat.com>
---
util/grub.d/10_linux.in | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/util/grub.d/10_linux.in b/util/grub.d/10_linux.in
index 137af42..c97226a 100644
--- a/util/grub.d/10_linux.in
+++ b/util/grub.d/10_linux.in
@@ -230,8 +230,8 @@ while [ "x$list" != "x" ] ; do
fdt=
for i in "dtb-${version}" "dtb-${alt_version}"; do
- if test -e "${dirname}/${i}/foundation-v8.dtb" ; then
- fdt="${i}/foundation-v8.dtb"
+ if test -e "${dirname}/${i}/apm-mustang.dtb" ; then
+ fdt="${i}/apm-mustang.dtb"
break
fi
done
--
2.4.3