[PATCH] ARM: enable MMU in pbl

Sascha Hauer s.hauer at pengutronix.de
Sun Aug 12 10:30:28 EDT 2012


The following enables the MMU during decompression which speeds up
things significantly.

Sascha

The following changes since commit 8711d5914ebd002f9be9f40a94864e0d3328235a:

  ARM pbl: generate zbarebox.map in $(obj) (2012-08-12 16:18:29 +0200)

are available in the git repository at:

  git://git.pengutronix.de/git/barebox.git work/mmu

for you to fetch changes up to 7f57c5388cdfe7ffb88cb91e2150ecd8422f6841:

  create a common ARM flush_icache function (2012-08-12 16:28:56 +0200)

----------------------------------------------------------------
Sascha Hauer (4):
      ARM __mmu_cache_*: Do not clobber registers
      ARM MMU: call __mmu_cache_* as regular C functions
      ARM pbl: enable MMU during decompression
      create a common ARM flush_icache function

 arch/arm/cpu/Makefile        |    4 ++++
 arch/arm/cpu/cache-armv4.S   |    3 ++-
 arch/arm/cpu/cache-armv7.S   |    6 +++--
 arch/arm/cpu/mmu.c           |   25 +++++---------------
 arch/arm/cpu/mmu.h           |    8 +++++++
 arch/arm/cpu/start-pbl.c     |   52 ++++++++++++++++++++++++++++++++++++++----
 arch/arm/cpu/start.c         |    4 ++--
 arch/arm/include/asm/cache.h |    9 ++++++++
 8 files changed, 83 insertions(+), 28 deletions(-)
 create mode 100644 arch/arm/cpu/mmu.h
 create mode 100644 arch/arm/include/asm/cache.h



More information about the barebox mailing list