[PATCH] support multiple ARM architectures

Sascha Hauer s.hauer at pengutronix.de
Wed Oct 10 03:12:14 EDT 2012


The following series is for supporting multiple ARM architectures
at runtime. We detect the architecture and select the cache functions
accordingly.

----------------------------------------------------------------
Sascha Hauer (2):
      ARM: Add cpu_architecture() function
      ARM: Support multiple ARM architectures

 arch/arm/cpu/Makefile              |    3 +-
 arch/arm/cpu/cache-armv4.S         |   28 +++++-----
 arch/arm/cpu/cache-armv5.S         |   30 +++++------
 arch/arm/cpu/cache-armv6.S         |   34 ++++++------
 arch/arm/cpu/cache-armv7.S         |   36 ++++++-------
 arch/arm/cpu/cache.c               |  103 ++++++++++++++++++++++++++++++++++++
 arch/arm/cpu/cpu.c                 |   47 ++++++++++++++++
 arch/arm/cpu/mmu.c                 |   28 +++++++---
 arch/arm/include/asm/cache.h       |    2 +
 arch/arm/include/asm/cputype.h     |  100 ++++++++++++++++++++++++++++++++++
 arch/arm/include/asm/system_info.h |   60 +++++++++++++++++++++
 11 files changed, 399 insertions(+), 72 deletions(-)
 create mode 100644 arch/arm/cpu/cache.c
 create mode 100644 arch/arm/include/asm/cputype.h
 create mode 100644 arch/arm/include/asm/system_info.h



More information about the barebox mailing list