rockchip: Don't skip low-level init
authorSimon Glass <sjg@chromium.org>
Fri, 22 Jan 2016 02:45:06 +0000 (19:45 -0700)
committerSimon Glass <sjg@chromium.org>
Fri, 22 Jan 2016 03:42:36 +0000 (20:42 -0700)
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>
arch/arm/mach-rockchip/board.c
arch/arm/mach-rockchip/rk3288-board-spl.c
include/configs/rk3288_common.h

index f026abf0b1681923a79ca53331237ecbfa21e81f..380aa91a28ba6531998a83516f4586a79d90df56 100644 (file)
@@ -45,3 +45,7 @@ void enable_caches(void)
        dcache_enable();
 }
 #endif
+
+void lowlevel_init(void)
+{
+}
index b2c57292a75d55d39ff13046072107685f35231e..f61eeabf44921378dc2965f8718bacb5ac4dedb7 100644 (file)
@@ -270,3 +270,7 @@ err:
        /* No way to report error here */
        hang();
 }
+
+void lowlevel_init(void)
+{
+}
index ebddfb02676f9f3316db22c0abf7146d9105ccbc..b9ff5a5c82f3215517e8196f2c4ffd7e0401d825 100644 (file)
@@ -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