omap3: Use raw SPL by default for mmc1
authorAlexander Graf <agraf@suse.de>
Tue, 1 Mar 2016 08:56:34 +0000 (09:56 +0100)
committerTom Rini <trini@konsulko.com>
Tue, 8 Mar 2016 20:01:46 +0000 (15:01 -0500)
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>
arch/arm/cpu/armv7/omap-common/boot-common.c

index 0456263d6ecc60b52ec1b5ef5d72fd27fc9a1c11..ed9ba7b5d3e6b2675600bc67e71b2c1da988d448 100644 (file)
@@ -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;