Sorry for the supersede, this fixes a small issue with beaglebone where grub2 would overwrite the initrd while patching the device tree because it's missing boundary checks. - EFI: Map fdt as reserved * efi-map-fdt-as-reserved.patch - Fix OMAP3 boards to load u-boot from raw sector offset * omap3-Use-raw-SPL-by-default-for-mmc1.patch - Allow grub2 to find its config * efi_loader-Pass-proper-device-path-in-on-boot.patch - Fix Raspberry Pi 1 build * efi_loader-Provide-icache-flush-stub.patch - Move omap3 to distro bootcmd (to enable efi boot on beagle-xm) * omap3-Move-to-distro-bootcmd.patch - Add EFI patch to support FDT fixups (patches in RAM size) * efi_loader-Call-fdt-preparation-functions.patch - Patch the default u-boot env to search for dtb in /boot at part 2 * efi-default-env.patch - Use $fdtfile rather than $fdt_name everywhere: * efi2.patch - Add EFI support about to move upstream: * efi.patch - EFI: Map fdt as reserved * efi-map-fdt-as-reserved.patch - Fix OMAP3 boards to load u-boot from raw sector offset * omap3-Use-raw-SPL-by-default-for-mmc1.patch (forwarded request 365802 from algraf) OBS-URL: https://build.opensuse.org/request/show/366093 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/u-boot?expand=0&rev=68
38 lines
1.1 KiB
Diff
38 lines
1.1 KiB
Diff
From 098b825ca50657cdf737aee4cf1da9eaae05d42c Mon Sep 17 00:00:00 2001
|
|
From: Alexander Graf <agraf@suse.de>
|
|
Date: Tue, 1 Mar 2016 09:52:28 +0100
|
|
Subject: [PATCH] omap3: Use raw SPL by default for mmc1
|
|
|
|
Now that we fall back to the FS code path when we don't find u-boot
|
|
at the raw sector offset, there is no good reason to not default to
|
|
raw boot.
|
|
|
|
With this patch, I can successfully boot u-boot from a raw sector
|
|
offset on beagle-xm.
|
|
|
|
Signed-off-by: Alexander Graf <agraf@suse.de>
|
|
---
|
|
|
|
I think this patch is safe and important enough to count as a bug fix for
|
|
2016.03.
|
|
|
|
arch/arm/cpu/armv7/omap-common/boot-common.c | 2 --
|
|
1 file changed, 2 deletions(-)
|
|
|
|
diff --git a/arch/arm/cpu/armv7/omap-common/boot-common.c b/arch/arm/cpu/armv7/omap-common/boot-common.c
|
|
index 0456263..ed9ba7b 100644
|
|
--- a/arch/arm/cpu/armv7/omap-common/boot-common.c
|
|
+++ b/arch/arm/cpu/armv7/omap-common/boot-common.c
|
|
@@ -111,8 +111,6 @@ void save_omap_boot_params(void)
|
|
(boot_device <= MMC_BOOT_DEVICES_END)) {
|
|
switch (boot_device) {
|
|
case BOOT_DEVICE_MMC1:
|
|
- boot_mode = MMCSD_MODE_FS;
|
|
- break;
|
|
case BOOT_DEVICE_MMC2:
|
|
boot_mode = MMCSD_MODE_RAW;
|
|
break;
|
|
--
|
|
1.8.5.6
|
|
|