]> git.sur5r.net Git - u-boot/commitdiff
rockchip: rk3288: skip lowlevel_init process
authorXu Ziyuan <xzy.xu@rock-chips.com>
Sat, 27 Aug 2016 13:53:14 +0000 (21:53 +0800)
committerSimon Glass <sjg@chromium.org>
Thu, 22 Sep 2016 13:57:02 +0000 (07:57 -0600)
lowlevel_init() is never needed for rk3288, so drop it.

Signed-off-by: Ziyuan Xu <xzy.xu@rock-chips.com>
Acked-by: Simon Glass <sjg@chromium.org>
Tested-by: Simon Glass <sjg@chromium.org>
arch/arm/mach-rockchip/board.c
arch/arm/mach-rockchip/rk3288-board-spl.c
include/configs/rk3288_common.h

index bec756d7ac0bad6aed9324254909b2d675a85fc9..6c36bf93977dac7be6f95d4c379beac5df30dfa7 100644 (file)
@@ -81,10 +81,6 @@ void enable_caches(void)
 }
 #endif
 
-void lowlevel_init(void)
-{
-}
-
 #if defined(CONFIG_USB_GADGET) && defined(CONFIG_USB_GADGET_DWC2_OTG)
 #include <usb.h>
 #include <usb/dwc2_udc.h>
index e0d92a66b39255546efb9d3b8834e590bd71b435..ae509ffab25ea27bac99266ea41fd4b7857f84ee 100644 (file)
@@ -280,7 +280,3 @@ err:
        /* No way to report error here */
        hang();
 }
-
-void lowlevel_init(void)
-{
-}
index 21b60828bb69c9f6d3a9eccb27d7129ed6d79ece..e8bf9878f24e586f82ecd177511e111c86a9f7ee 100644 (file)
@@ -9,6 +9,7 @@
 
 #include <asm/arch/hardware.h>
 
+#define CONFIG_SKIP_LOWLEVEL_INIT_ONLY
 #define CONFIG_SYS_NO_FLASH
 #define CONFIG_NR_DRAM_BANKS           1
 #define CONFIG_ENV_SIZE                        0x2000