[U-Boot] [PATCH] wandboard: Enable SATA for quad

Nicolas Chauvet kwizart at gmail.com
Thu Feb 16 18:20:14 UTC 2017


Having sata first will makes preference to sata boot if
both sata0 and mmc0 have a boot partition

This change was not tested against wanboard solo/dual,
but it does operate correctly when there is no sata disk
connected on quad.
(it falls back to mmc0 boot)

Tested with current u-boot 2017.03-rc2
with Fedora 25 workstation armhfp

Signed-off-by: Nicolas Chauvet <kwizart at gmail.com>
---
 include/configs/wandboard.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/configs/wandboard.h b/include/configs/wandboard.h
index 7e9757a..3101d1b 100644
--- a/include/configs/wandboard.h
+++ b/include/configs/wandboard.h
@@ -128,6 +128,7 @@
 	BOOTENV
 
 #define BOOT_TARGET_DEVICES(func) \
+	func(SATA, sata, 0) \
 	func(MMC, mmc, 0) \
 	func(MMC, mmc, 1) \
 	func(USB, usb, 0) \
-- 
2.7.4



More information about the U-Boot mailing list