Browse Source

rockchip: rk3288: skip lowlevel_init process

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>
Xu Ziyuan 8 năm trước cách đây
mục cha
commit
5a4a90f6e6

+ 0 - 4
arch/arm/mach-rockchip/board.c

@@ -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>

+ 0 - 4
arch/arm/mach-rockchip/rk3288-board-spl.c

@@ -280,7 +280,3 @@ err:
 	/* No way to report error here */
 	hang();
 }
-
-void lowlevel_init(void)
-{
-}

+ 1 - 0
include/configs/rk3288_common.h

@@ -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