summaryrefslogtreecommitdiff
path: root/arch/arm/mach-rockchip/rv1108/rv1108.c
diff options
context:
space:
mode:
authorKever Yang <kever.yang@rock-chips.com>2019-07-22 20:02:21 +0800
committerKever Yang <kever.yang@rock-chips.com>2019-07-29 10:27:48 +0800
commit26008cd42b590dc71ee9c1ca667a218542aab342 (patch)
tree677b7e8b74956e45c813bdfd8772343cfa922800 /arch/arm/mach-rockchip/rv1108/rv1108.c
parent8e9a8d0d0c8c06dd9213352b3415d94c5722bdeb (diff)
rockchip: rv1108: Migrate to use common board file
Use common board file for board_init() and board_late_init(), for Rockchip SoCs have very similar process. Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
Diffstat (limited to 'arch/arm/mach-rockchip/rv1108/rv1108.c')
-rw-r--r--arch/arm/mach-rockchip/rv1108/rv1108.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/arch/arm/mach-rockchip/rv1108/rv1108.c b/arch/arm/mach-rockchip/rv1108/rv1108.c
index 66aeb3ffcc..6362af995b 100644
--- a/arch/arm/mach-rockchip/rv1108/rv1108.c
+++ b/arch/arm/mach-rockchip/rv1108/rv1108.c
@@ -3,13 +3,3 @@
* (C) Copyright 2016 Rockchip Electronics Co., Ltd
* Author: Andy Yan <andy.yan@rock-chips.com>
*/
-
-#include <common.h>
-
-#if !CONFIG_IS_ENABLED(SYS_DCACHE_OFF)
-void enable_caches(void)
-{
- /* Enable D-cache. I-cache is already enabled in start.S */
- dcache_enable();
-}
-#endif