]> Git Repo - u-boot.git/commitdiff
imx: Change USB boot device type
authorYe Li <[email protected]>
Tue, 26 Jul 2022 08:40:33 +0000 (16:40 +0800)
committerStefano Babic <[email protected]>
Tue, 26 Jul 2022 09:29:00 +0000 (11:29 +0200)
The SPL SDP is configured as BOOT_DEVICE_BOARD, so when booting from
USB, change its type to BOOT_DEVICE_BOARD, so we can use SDP.

Signed-off-by: Ye Li <[email protected]>
Signed-off-by: Peng Fan <[email protected]>
arch/arm/mach-imx/spl.c

index 64ca296772127292faf69d86c24536dd351d1a93..e89e2277ef7444a3f11bd70d68fbc8f9ddab895a 100644 (file)
@@ -177,7 +177,7 @@ u32 spl_boot_device(void)
        case QSPI_BOOT:
                return BOOT_DEVICE_NOR;
        case USB_BOOT:
-               return BOOT_DEVICE_USB;
+               return BOOT_DEVICE_BOARD;
        default:
                return BOOT_DEVICE_NONE;
        }
This page took 0.034762 seconds and 4 git commands to generate.