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

Kever Yang kever.yang at rock-chips.com
Wed Aug 9 10:18:59 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>
---

 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 1ef6b92..9a1690e 100644
--- a/include/configs/rk3399_common.h
+++ b/include/configs/rk3399_common.h
@@ -73,6 +73,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