Skip to content

at91: at91sam9g15 improvements

Heiko Schocher u-boot 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest0 of 6 patches 0 repliesNew

Patches in v1 No applies recorded yet

None of the 6 patches the cover letter announces are in this archive.

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [U-Boot] [PATCH 0/6] at91: at91sam9g15 improvements

Hello Andreas,

Am 17.08.2016 um 09:13 schrieb Heiko Schocher:

Quoted 42 lines

This series add some missing things for an at91sam9g15 board, which gets not mainlined, but there are common fixes, which are posted with this patchserie.

2 important things:
- enable icache for AT91 based boards
speeds up them a lot, for example reading 8MiB from an SPI NOR flash into RAM takes with icache off ~15 seconds with icache enabled only ~5 seconds.

gurnard board defines a board specific enable_caches() function which enables dcache .. with acomment that this breaks Ethernet MAC ... I removed this board specific function, and dcache enable functions should be added in arch/arm/mach-at91/arm926ejs/cache.c

- SPL clock fix, posted as RFC, as it may breaks other boards. If so, we may make clock settings in SPL board configurable through a weak function?

buildman finds no new errors/warnings with the patches from this patchseries applied.

Heiko Schocher (6):
arm: at91: mpddrc: add missing MPDDRC_MD defines
ARM: at91: clock: correct PRES offset for at91sam9x5 arm, at91: add icache support
arm, at91: add some missing fields in PIO struct
at91: add function to set IO drive
[RFC] at91: SPL clock fix for AT91SAM9G15 based boards.

  arch/arm/mach-at91/arm926ejs/Makefile          |  1 +
  arch/arm/mach-at91/arm926ejs/cache.c           | 29 ++++++++++++++++++++++++++
  arch/arm/mach-at91/arm926ejs/clock.c           |  6 ++++++
  arch/arm/mach-at91/include/mach/at91_pio.h     | 11 +++++++++-
  arch/arm/mach-at91/include/mach/atmel_mpddrc.h |  3 +++
  arch/arm/mach-at91/include/mach/gpio.h         |  2 ++
  arch/arm/mach-at91/spl_at91.c                  | 13 +++++++++---
  board/bluewater/gurnard/gurnard.c              |  6 ------
  drivers/gpio/at91_gpio.c                       | 29 ++++++++++++++++++++++++++
  9 files changed, 90 insertions(+), 10 deletions(-)
Quoted 2 lines

create mode 100644 arch/arm/mach-at91/arm926ejs/cache.c

This patchset is now pending for more than 1 month ... are there any issues, or do you plan to apply it?

Thanks!

bye,
Heiko

Signature · 2 lines
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany