[U-Boot] [PATCH v2 04/10] rockchip: rk3288: disable fastboot in SPL stage

Ziyuan Xu jk.kernel at gmail.com
Tue Jul 26 12:28:24 CEST 2016


Reduce compilation time for SPL.

Signed-off-by: Ziyuan Xu <xzy.xu at rock-chips.com>
---

Changes in v2: None

 include/configs/rk3288_common.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/configs/rk3288_common.h b/include/configs/rk3288_common.h
index 2a36c17..72dfb8a 100644
--- a/include/configs/rk3288_common.h
+++ b/include/configs/rk3288_common.h
@@ -84,6 +84,7 @@
 #define CONFIG_SPI
 #define CONFIG_SF_DEFAULT_SPEED 20000000
 
+#ifndef CONFIG_SPL_BUILD
 /* usb otg */
 #define CONFIG_USB_GADGET
 #define CONFIG_USB_GADGET_DUALSPEED
@@ -110,7 +111,6 @@
 #define CONFIG_CMD_GPT
 #define CONFIG_EFI_PARTITION
 
-#ifndef CONFIG_SPL_BUILD
 #include <config_distro_defaults.h>
 
 #define ENV_MEM_LAYOUT_SETTINGS \
-- 
1.9.1



More information about the U-Boot mailing list