From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marek Vasut Date: Mon, 4 May 2015 20:02:03 +0200 Subject: [U-Boot] [PATCH 12/24] arm: Allow cleanup_before_linux() without disabling caches In-Reply-To: References: <1430760687-28505-2-git-send-email-sjg@chromium.org> <201505041936.38171.marex@denx.de> Message-ID: <201505042002.03750.marex@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Monday, May 04, 2015 at 07:49:16 PM, Simon Glass wrote: > Hi Marek, Hi Simon, > On 4 May 2015 at 11:36, Marek Vasut 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 > >> Signed-off-by: Vadim Bendebury > > > > 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. Sounds good, thanks for clarifying ! Best regards, Marek Vasut