From 5a4a90f6e632448aa60c7fdee575e9d38adfd230 Mon Sep 17 00:00:00 2001 From: Xu Ziyuan Date: Sat, 27 Aug 2016 21:53:14 +0800 Subject: [PATCH] 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 --- arch/arm/mach-rockchip/board.c | 4 ---- arch/arm/mach-rockchip/rk3288-board-spl.c | 4 ---- include/configs/rk3288_common.h | 1 + 3 files changed, 1 insertion(+), 8 deletions(-) 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 -- 2.39.5