forked from pool/u-boot
Guillaume GARDET
3eea99e170
- Update to v2019.01 - Update to v2019.01-rc3 - Patch queue updated from git://github.com/openSUSE/u-boot.git tumbleweed-2019.01 * Patches dropped: 0007-exynos-imply-SYS_THUMB_BUILD.patch - Add rock960-rk3399 - Update to v2019.01-rc2 - add pinebook - Update to v2019.01-rc1 - Patch queue updated from git://github.com/openSUSE/u-boot.git tumbleweed-2019.01 * Patches dropped: 0007-Revert-efi_loader-remove-efi_exit_c.patch 0008-exynos5-allow-bigger-BL2-u-boot.bin.patch * Patches added: 0007-exynos-imply-SYS_THUMB_BUILD.patch OBS-URL: https://build.opensuse.org/request/show/666209 OBS-URL: https://build.opensuse.org/package/show/hardware:boot/u-boot?expand=0&rev=33
34 lines
1.6 KiB
Diff
34 lines
1.6 KiB
Diff
From f157d20e42d1f151c9fa402dc635c2879539ee2f Mon Sep 17 00:00:00 2001
|
|
From: Guillaume GARDET <guillaume.gardet@free.fr>
|
|
Date: Wed, 13 Apr 2016 13:44:29 +0200
|
|
Subject: [PATCH] XXX openSUSE XXX: Prepend partition 2 (and 3 fo chromebook
|
|
snow) to list of boot partition to load DTB before EFI Also add new folders
|
|
to find DTB
|
|
|
|
---
|
|
include/config_distro_bootcmd.h | 4 ++--
|
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
|
|
diff --git a/include/config_distro_bootcmd.h b/include/config_distro_bootcmd.h
|
|
index 555efb7433..6579ffe107 100644
|
|
--- a/include/config_distro_bootcmd.h
|
|
+++ b/include/config_distro_bootcmd.h
|
|
@@ -141,7 +141,7 @@
|
|
"load ${devtype} ${devnum}:${distro_bootpart} " \
|
|
"${fdt_addr_r} ${prefix}${efi_fdtfile}\0" \
|
|
\
|
|
- "efi_dtb_prefixes=/ /dtb/ /dtb/current/\0" \
|
|
+ "efi_dtb_prefixes=/ /dtb/ /dtb/current/ /boot/ /boot/dtb/ /boot/dtb/current/\0" \
|
|
"scan_dev_for_efi=" \
|
|
"setenv efi_fdtfile ${fdtfile}; " \
|
|
BOOTENV_EFI_SET_FDTFILE_FALLBACK \
|
|
@@ -412,7 +412,7 @@
|
|
"scan_dev_for_boot_part=" \
|
|
"part list ${devtype} ${devnum} -bootable devplist; " \
|
|
"env exists devplist || setenv devplist 1; " \
|
|
- "for distro_bootpart in ${devplist}; do " \
|
|
+ "for distro_bootpart in 2 3 ${devplist}; do " \
|
|
"if fstype ${devtype} " \
|
|
"${devnum}:${distro_bootpart} " \
|
|
"bootfstype; then " \
|