summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2016-01-21 19:45:06 -0700
committerSimon Glass <sjg@chromium.org>2016-01-21 20:42:36 -0700
commitad443b72909c4c68be4131f8b7af49fd7a89d793 (patch)
tree55c5e625456573d05bbfbe2dfe971d765875393b
parent7b7ad5c31c91f84ae12b9a7ec850b5d0f720e19b (diff)
downloadblackbird-obmc-uboot-ad443b72909c4c68be4131f8b7af49fd7a89d793.tar.gz
blackbird-obmc-uboot-ad443b72909c4c68be4131f8b7af49fd7a89d793.zip
rockchip: Don't skip low-level init
At present the low-level init is skipped on rockchip. Among other things this means that the instruction cache is left disabled. Fix this. Signed-off-by: Simon Glass <sjg@chromium.org>
-rw-r--r--arch/arm/mach-rockchip/board.c4
-rw-r--r--arch/arm/mach-rockchip/rk3288-board-spl.c4
-rw-r--r--include/configs/rk3288_common.h1
3 files changed, 8 insertions, 1 deletions
diff --git a/arch/arm/mach-rockchip/board.c b/arch/arm/mach-rockchip/board.c
index f026abf0b1..380aa91a28 100644
--- a/arch/arm/mach-rockchip/board.c
+++ b/arch/arm/mach-rockchip/board.c
@@ -45,3 +45,7 @@ void enable_caches(void)
dcache_enable();
}
#endif
+
+void lowlevel_init(void)
+{
+}
diff --git a/arch/arm/mach-rockchip/rk3288-board-spl.c b/arch/arm/mach-rockchip/rk3288-board-spl.c
index b2c57292a7..f61eeabf44 100644
--- a/arch/arm/mach-rockchip/rk3288-board-spl.c
+++ b/arch/arm/mach-rockchip/rk3288-board-spl.c
@@ -270,3 +270,7 @@ 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 ebddfb0267..b9ff5a5c82 100644
--- a/include/configs/rk3288_common.h
+++ b/include/configs/rk3288_common.h
@@ -16,7 +16,6 @@
#define CONFIG_BAUDRATE 115200
#define CONFIG_SYS_MALLOC_LEN (32 << 20)
#define CONFIG_SYS_CBSIZE 1024
-#define CONFIG_SKIP_LOWLEVEL_INIT
#define CONFIG_SYS_THUMB_BUILD
#define CONFIG_OF_LIBFDT
#define CONFIG_DISPLAY_BOARDINFO
OpenPOWER on IntegriCloud