[U-Boot] [PATCH v2 3/3] rockchip: rk3399: enable preboot for boot mode detect

Kever Yang kever.yang at rock-chips.com
Tue Aug 22 08:57:21 UTC 2017


We need to get into preboot once we detect that we are not
get into normal boot.

Signed-off-by: Kever Yang <kever.yang at rock-chips.com>
Reviewed-by: Simon Glass <sjg at chromium.org>
Acked-by: Philipp Tomsich <philipp.tomsich at theobroma-systems.com>
---

Changes in v2: None

 include/configs/rk3399_common.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/include/configs/rk3399_common.h b/include/configs/rk3399_common.h
index 3317887..21bf2cd 100644
--- a/include/configs/rk3399_common.h
+++ b/include/configs/rk3399_common.h
@@ -71,6 +71,8 @@
 
 #endif
 
+#define CONFIG_PREBOOT
+
 /* enable usb config for usb ether */
 #define CONFIG_USB_HOST_ETHER
 
-- 
1.9.1



More information about the U-Boot mailing list