From 06c332a3a1b1d3d97e72debaf83ba2bf9fdf4693 Mon Sep 17 00:00:00 2001 From: Paul Kocialkowski Date: Sun, 28 Jul 2024 11:41:09 +0200 Subject: omap3: sniper: Go for raw MMC1 boot when booting USB > MMC2 Signed-off-by: Paul Kocialkowski --- arch/arm/mach-omap2/boot-common.c | 2 +- arch/arm/mach-omap2/omap3/boot.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/mach-omap2/boot-common.c b/arch/arm/mach-omap2/boot-common.c index 649bc07047a..d11f591c9b8 100644 --- a/arch/arm/mach-omap2/boot-common.c +++ b/arch/arm/mach-omap2/boot-common.c @@ -125,7 +125,7 @@ void save_omap_boot_params(void) (boot_device <= MMC_BOOT_DEVICES_END)) { switch (boot_device) { case BOOT_DEVICE_MMC1: - boot_mode = MMCSD_MODE_FS; + boot_mode = MMCSD_MODE_RAW; break; case BOOT_DEVICE_MMC2: boot_mode = MMCSD_MODE_RAW; diff --git a/arch/arm/mach-omap2/omap3/boot.c b/arch/arm/mach-omap2/omap3/boot.c index 2a36a25e279..b52825af410 100644 --- a/arch/arm/mach-omap2/omap3/boot.c +++ b/arch/arm/mach-omap2/omap3/boot.c @@ -15,7 +15,7 @@ static u32 boot_devices[] = { BOOT_DEVICE_ONENAND, BOOT_DEVICE_MMC2, BOOT_DEVICE_ONENAND, - BOOT_DEVICE_MMC2, + BOOT_DEVICE_MMC1, BOOT_DEVICE_MMC1, BOOT_DEVICE_XIP, BOOT_DEVICE_XIPWAIT, -- cgit v1.2.3