[U-Boot] [PATCH 12/24] arm: Allow cleanup_before_linux() without disabling caches
Simon Glass
sjg at chromium.org
Mon May 4 19:49:16 CEST 2015
Hi Marek,
On 4 May 2015 at 11:36, Marek Vasut <marex at denx.de> wrote:
> On Monday, May 04, 2015 at 07:31:05 PM, Simon Glass wrote:
>> This function is used before jumping to U-Boot, but in that case we don't
>> always want to disable caches.
>>
>> Signed-off-by: Simon Glass <sjg at chromium.org>
>> Signed-off-by: Vadim Bendebury <vbendeb at chromium.org>
>
> In which usecase exactly is this applicable please ? :)
This is sort-of related to "Enable detecting when U-Boot is started
from SPL" so there are some details there.
I was able to get SPL to enable the cache and leave it on all the way
through the verified boot flow (read-only and read-write U-Boot) and
it saved about 600ms. So in short this refactor allows you to jump
into U-Boot with the cache still enabled.
Regards,
Simon
More information about the U-Boot
mailing list