From: Xu Ziyuan Date: Sat, 27 Aug 2016 13:53:14 +0000 (+0800) Subject: rockchip: rk3288: skip lowlevel_init process X-Git-Tag: v2016.11-rc1~109^2~3 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=5a4a90f6e632448aa60c7fdee575e9d38adfd230;p=oweals%2Fu-boot.git rockchip: rk3288: skip lowlevel_init process lowlevel_init() is never needed for rk3288, so drop it. Signed-off-by: Ziyuan Xu Acked-by: Simon Glass Tested-by: Simon Glass --- diff --git a/arch/arm/mach-rockchip/board.c b/arch/arm/mach-rockchip/board.c index bec756d7ac..6c36bf9397 100644 --- a/arch/arm/mach-rockchip/board.c +++ b/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 #include diff --git a/arch/arm/mach-rockchip/rk3288-board-spl.c b/arch/arm/mach-rockchip/rk3288-board-spl.c index e0d92a66b3..ae509ffab2 100644 --- a/arch/arm/mach-rockchip/rk3288-board-spl.c +++ b/arch/arm/mach-rockchip/rk3288-board-spl.c @@ -280,7 +280,3 @@ err: /* No way to report error here */ hang(); } - -void lowlevel_init(void) -{ -} diff --git a/include/configs/rk3288_common.h b/include/configs/rk3288_common.h index 21b60828bb..e8bf9878f2 100644 --- a/include/configs/rk3288_common.h +++ b/include/configs/rk3288_common.h @@ -9,6 +9,7 @@ #include +#define CONFIG_SKIP_LOWLEVEL_INIT_ONLY #define CONFIG_SYS_NO_FLASH #define CONFIG_NR_DRAM_BANKS 1 #define CONFIG_ENV_SIZE 0x2000