Skip to contentSkip to conversation

omap3: Use raw SPL by default for mmc1

PATCH In review Alexander Graf 2 participants 2 messages Mar 1, 2016 – Mar 8, 2016 Arm (32-bit)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---

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(-)
arch/arm/cpu/armv7/omap-common/boot-common.c +0 -2
index 0456263..ed9ba7b 100644
@@ -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;
Signature · 1 line
1.8.5.6
#1 lore raw
Quoted 8 lines · Alexander Graf

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.

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160308/be98305c/attachment.sig>