ARM: omapl138_lcdk: Allow early init to start instruction cache
PATCH 1/1 ARM: omapl138_lcdk: Allow early init to start instruction cache
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.
include/configs/omapl138_lcdk.h +1 -1
@@ -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
Signature · 1 line
2.20.1
PATCH 1/1 ARM: omapl138_lcdk: Allow early init to start instruction cache
niedz., 10 lis 2019 o 17:18 Adam Ford <[email protected]> napisał(a):
Quoted 27 lines
Currently the
omapl138_lcdkhasSKIP_LOWLEVEL_INITset. The README states there is a variation of this for the ARM926EJ-S which allows the board to just skip the call tolowlevel_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_INITtoSKIP_LOWLEVEL_INIT_ONLYthus, enabling the cache.Signed-off-by Adam Ford <[email protected]>include/configs/omapl138_lcdk.h +1
-2@@ -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 --
Quoted 2 lines
2.20.1
PATCH 1/1 ARM: omapl138_lcdk: Allow early init to start instruction cache
In reply to Adam Fordinclude/configs/omapl138_lcdk.h
Quoted 16 lines · Adam Ford
Currently the
omapl138_lcdkhasSKIP_LOWLEVEL_INITset. The README states there is a variation of this for the ARM926EJ-S which allows the board to just skip the call tolowlevel_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_INITtoSKIP_LOWLEVEL_INIT_ONLYthus, enabling the cache.Signed-off-by Adam Ford <[email protected]>Tested-by Bartosz Golaszewski <[email protected]>Reviewed-by Bartosz Golaszewski <[email protected]>include/configs/omapl138_lcdk.h +0
-0
Applied to u-boot/master, thanks!
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 833 bytes Desc: not available URL: <https://lists.denx.de/pipermail/u-boot/attachments/20191203/67086fe0/attachment.sig>