[U-Boot] [PATCH 3/6] arm, at91: add icache support
Simon Glass
sjg at chromium.org
Thu Aug 18 05:45:02 CEST 2016
On 17 August 2016 at 01:13, Heiko Schocher <hs at denx.de> wrote:
> add at least icache support for at91 based boards.
> This speeds up NOR flash access on an at91sam9g15
> based board from 15.2 seconds reading 8 MiB from
> a SPI NOR flash to 5.7 seconds.
>
> Signed-off-by: Heiko Schocher <hs at denx.de>
>
> ---
> removed the dcache enable in the gurnard board. Comment
> says that enabling dcache breaks Ethernet MAC ... why
> is it then enabled?
>
> @Simon: If you need dache enabled for the gurnard board,
> arch/arm/mach-at91/arm926ejs/cache.c is the correct place
> for doing this, I think. Please add there the common functions
> needed for dcache support on at91 plattforms and undef in
> the gurnard board configuration CONFIG_SYS_DCACHE_OFF.
>
> arch/arm/mach-at91/arm926ejs/Makefile | 1 +
> arch/arm/mach-at91/arm926ejs/cache.c | 29 +++++++++++++++++++++++++++++
> board/bluewater/gurnard/gurnard.c | 6 ------
> 3 files changed, 30 insertions(+), 6 deletions(-)
> create mode 100644 arch/arm/mach-at91/arm926ejs/cache.c
Reviewed-by: Simon Glass <sjg at chromium.org>
More information about the U-Boot
mailing list