diff options
Diffstat (limited to 'arch/arm/mach-uniphier/boot-mode/boot-mode-proxstream2.c')
-rw-r--r-- | arch/arm/mach-uniphier/boot-mode/boot-mode-proxstream2.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/mach-uniphier/boot-mode/boot-mode-proxstream2.c b/arch/arm/mach-uniphier/boot-mode/boot-mode-proxstream2.c index 3769ec555b..1b0c183808 100644 --- a/arch/arm/mach-uniphier/boot-mode/boot-mode-proxstream2.c +++ b/arch/arm/mach-uniphier/boot-mode/boot-mode-proxstream2.c @@ -55,6 +55,9 @@ u32 proxstream2_boot_device(void) { int boot_mode; + if (readl(SG_PINMON0) & BIT(6)) + return BOOT_DEVICE_USB; + boot_mode = get_boot_mode_sel(); return boot_device_table[boot_mode].type; |