From mboxrd@z Thu Jan 1 00:00:00 1970 From: Simon Glass Date: Thu, 3 Sep 2015 12:00:39 -0600 Subject: [U-Boot] [PATCH v5 38/41] arm: Turn of d-cache before i-cache In-Reply-To: <1440975352-28528-39-git-send-email-sjg@chromium.org> References: <1440975352-28528-1-git-send-email-sjg@chromium.org> <1440975352-28528-39-git-send-email-sjg@chromium.org> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 30 August 2015 at 16:55, Simon Glass wrote: > From: Sjoerd Simons > > Booting the kernel fails on RK3288 (and probably other rockchip SoCs) > when the i-cache is disabled/flushed before d-cache. > > I have not investigated whether this is due to U-Boot hanging or whether > it's very early in the linux boot, but following the approach of the > various rockchip U-Boot forks (first disable d-cache then i-cache) makes > things work. > > Signed-off-by: Sjoerd Simons > Reviewed-by: Simon Glass > Signed-off-by: Simon Glass > --- > > Changes in v5: None > Changes in v4: None > Changes in v3: None > Changes in v2: None > > arch/arm/cpu/armv7/cpu.c | 15 +++++++++------ > 1 file changed, 9 insertions(+), 6 deletions(-) I have not seen any comments on this patch. It looks safe and more correct to me. Please chime in if you see problem. Applied to u-boot-rockchip, thanks!