diff mbox

[U-Boot] dragonboard410c: prefer sdcard boot over emmc

Message ID 1467565141-17740-1-git-send-email-rsalveti@rsalveti.net
State Accepted
Commit 5a6f576663d59cb3e08a619510701b7e1dea6128
Delegated to: Tom Rini
Headers show

Commit Message

Ricardo Salveti July 3, 2016, 4:59 p.m. UTC
Make the external devices the preferred ones when booting the system
(usb is already the first option). This allows users to easily boot
custom distributions without requiring them to reflash/customize u-boot.

Cc: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Ricardo Salveti <rsalveti@rsalveti.net>
---
 include/configs/dragonboard410c.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Andreas Färber July 12, 2016, 1:16 a.m. UTC | #1
Am 03.07.2016 um 18:59 schrieb Ricardo Salveti:
> Make the external devices the preferred ones when booting the system
> (usb is already the first option). This allows users to easily boot
> custom distributions without requiring them to reflash/customize u-boot.
> 
> Cc: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
> Signed-off-by: Ricardo Salveti <rsalveti@rsalveti.net>

Reviewed-by: Andreas Färber <afaerber@suse.de>
Tested-by: Andreas Färber <afaerber@suse.de>

Thanks,
Andreas
Mateusz Kulikowski July 12, 2016, 7:26 p.m. UTC | #2
On 03.07.2016 18:59, Ricardo Salveti wrote:
> Make the external devices the preferred ones when booting the system
> (usb is already the first option). This allows users to easily boot
> custom distributions without requiring them to reflash/customize u-boot.
> 
> Cc: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
> Signed-off-by: Ricardo Salveti <rsalveti@rsalveti.net>
> ---
>  include/configs/dragonboard410c.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/include/configs/dragonboard410c.h b/include/configs/dragonboard410c.h
> index 4b00922..74a827d 100644
> --- a/include/configs/dragonboard410c.h
> +++ b/include/configs/dragonboard410c.h
> @@ -84,8 +84,8 @@
>  
>  #define BOOT_TARGET_DEVICES(func) \
>  	func(USB, usb, 0) \
> -	func(MMC, mmc, 0) \
>  	func(MMC, mmc, 1) \
> +	func(MMC, mmc, 0) \
>  	func(DHCP, dhcp, na)
>  
>  #include <config_distro_bootcmd.h>
> 

+1, I don't know why didn't I thought about that.

Acked-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Tom Rini July 16, 2016, 1:50 p.m. UTC | #3
On Sun, Jul 03, 2016 at 01:59:01PM -0300, Ricardo Salveti de Araujo wrote:

> Make the external devices the preferred ones when booting the system
> (usb is already the first option). This allows users to easily boot
> custom distributions without requiring them to reflash/customize u-boot.
> 
> Cc: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
> Signed-off-by: Ricardo Salveti <rsalveti@rsalveti.net>
> Reviewed-by: Andreas Färber <afaerber@suse.de>
> Tested-by: Andreas Färber <afaerber@suse.de>
> Acked-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>

Applied to u-boot/master, thanks!
diff mbox

Patch

diff --git a/include/configs/dragonboard410c.h b/include/configs/dragonboard410c.h
index 4b00922..74a827d 100644
--- a/include/configs/dragonboard410c.h
+++ b/include/configs/dragonboard410c.h
@@ -84,8 +84,8 @@ 
 
 #define BOOT_TARGET_DEVICES(func) \
 	func(USB, usb, 0) \
-	func(MMC, mmc, 0) \
 	func(MMC, mmc, 1) \
+	func(MMC, mmc, 0) \
 	func(DHCP, dhcp, na)
 
 #include <config_distro_bootcmd.h>