ARM: omapl138_lcdk: Allow early init to start instruction cache
authorAdam Ford <aford173@gmail.com>
Sun, 10 Nov 2019 16:17:58 +0000 (10:17 -0600)
committerTom Rini <trini@konsulko.com>
Tue, 3 Dec 2019 13:44:13 +0000 (08:44 -0500)
Currently the omapl138_lcdk has SKIP_LOWLEVEL_INIT set.
The README states there is a variation of this for the ARM926EJ-S
which allows the board to just skip the call to lowlevel_init()
and do the normal CP15 init which enables the instruction cache.

On the da850evm, this was shown to improve startup time.

This patch switches SKIP_LOWLEVEL_INIT to SKIP_LOWLEVEL_INIT_ONLY
thus, enabling the cache.

Signed-off-by: Adam Ford <aford173@gmail.com>
Tested-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Reviewed-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
include/configs/omapl138_lcdk.h

index fc5c87cc9ae33817c373d8c2321ce3923ae29205..2c499d812b003ba84c04dd19c39f18f5052a52c4 100644 (file)
@@ -23,7 +23,7 @@
 #define CONFIG_SYS_TIMERBASE           DAVINCI_TIMER0_BASE
 #define CONFIG_SYS_HZ_CLOCK            clk_get(DAVINCI_AUXCLK_CLKID)
 #define CONFIG_SYS_HZ                  1000
-#define CONFIG_SKIP_LOWLEVEL_INIT
+#define CONFIG_SKIP_LOWLEVEL_INIT_ONLY
 
 /*
  * Memory Info