]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
rockchip: rk3288: disable fastboot in SPL stage
authorjk.kernel@gmail.com <jk.kernel@gmail.com>
Tue, 26 Jul 2016 10:28:24 +0000 (18:28 +0800)
committerSimon Glass <sjg@chromium.org>
Sun, 31 Jul 2016 13:24:20 +0000 (07:24 -0600)
Reduce compilation time for SPL.

Signed-off-by: Ziyuan Xu <xzy.xu@rock-chips.com>
Acked-by: Simon Glass <sjg@chromium.org>
include/configs/rk3288_common.h

index be6dba0ad2b7385556982ce85664a9ace22c7246..9f2dd3fea30e0e58c6f89972ebca8a5863f2836f 100644 (file)
@@ -81,6 +81,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
 #define CONFIG_CMD_GPT
 #define CONFIG_EFI_PARTITION
 
-#ifndef CONFIG_SPL_BUILD
 #include <config_distro_defaults.h>
 
 #define ENV_MEM_LAYOUT_SETTINGS \