From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?q?Andreas=20Bie=C3=9Fmann?= Date: Fri, 28 Oct 2016 18:49:11 +0200 Subject: [U-Boot] [U-Boot,3/6] arm, at91: add icache support In-Reply-To: <1471418009-12660-4-git-send-email-hs@denx.de> (from Heiko Schocher on Wed, 17 Aug 2016 09:13:25 +0200) References: <1471418009-12660-4-git-send-email-hs@denx.de> Message-ID: <20161028164911.28334-1-andreas@biessmann.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Heiko Schocher, Heiko Schocher writes: >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 >Reviewed-by: Simon Glass >Reviewed-by: Andreas Bie?mann >--- >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 applied to u-boot-atmel/master, thanks! Best regards, Andreas Bie?mann