public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH v2 00/13] Add asm-generic/io.h; virt_to_phys(), phys_to_virt() for all arches
@ 2017-09-14 22:05 Paul Burton
  2017-09-14 22:05 ` [U-Boot] [PATCH v2 01/13] Provide a generic io.h & address mapping functions Paul Burton
                   ` (12 more replies)
  0 siblings, 13 replies; 29+ messages in thread
From: Paul Burton @ 2017-09-14 22:05 UTC (permalink / raw)
  To: u-boot

This series introduces a new asm-generic/io.h header & makes use of it
to reduce duplication between architectures & ensure they all
consistently provide implementations of virt_to_phys() & phys_to_virt().

This was split out from an earlier series which goes on to use
phys_to_virt(), in order to simplify the process of getting it merged
by doing so piecemeal. The v1 patches can be seen at [1].

Thanks,
    Paul

[1] https://patchwork.ozlabs.org/bundle/paulburton/old-asm-generic-io/?state=*

Paul Burton (13):
  Provide a generic io.h & address mapping functions
  arc: Use asm-generic/io.h
  arm: Use asm-generic/io.h
  m68k: Use asm-generic/io.h
  microblaze: Use asm-generic/io.h
  nds32: Use asm-generic/io.h
  sh: Use asm-generic/io.h
  x86: Use asm-generic/io.h
  xtensa: Use asm-generic/io.h
  mips: Use asm-generic/io.h
  nios2: Use asm-generic/io.h
  powerpc: Use asm-generic/io.h
  sandbox: Use asm-generic/io.h

 arch/arc/include/asm/io.h        |  29 +----------
 arch/arm/include/asm/io.h        |  30 +----------
 arch/m68k/include/asm/io.h       |  29 +----------
 arch/microblaze/include/asm/io.h |  29 +----------
 arch/mips/include/asm/io.h       |  17 +++---
 arch/nds32/include/asm/io.h      |  32 ++----------
 arch/nios2/include/asm/io.h      |  15 +++---
 arch/powerpc/include/asm/io.h    |  25 ++-------
 arch/sandbox/cpu/cpu.c           |  12 ++++-
 arch/sandbox/include/asm/io.h    |  18 +++----
 arch/sh/include/asm/io.h         |  29 +----------
 arch/x86/include/asm/io.h        |  31 +----------
 arch/xtensa/include/asm/io.h     |  25 +--------
 include/asm-generic/io.h         | 110 +++++++++++++++++++++++++++++++++++++++
 14 files changed, 161 insertions(+), 270 deletions(-)
 create mode 100644 include/asm-generic/io.h

-- 
2.14.1

^ permalink raw reply	[flat|nested] 29+ messages in thread

end of thread, other threads:[~2017-10-03 12:53 UTC | newest]

Thread overview: 29+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-09-14 22:05 [U-Boot] [PATCH v2 00/13] Add asm-generic/io.h; virt_to_phys(), phys_to_virt() for all arches Paul Burton
2017-09-14 22:05 ` [U-Boot] [PATCH v2 01/13] Provide a generic io.h & address mapping functions Paul Burton
2017-09-15  7:35   ` Daniel Schwierzeck
2017-10-03 12:52   ` [U-Boot] [U-Boot, v2, " Tom Rini
2017-09-14 22:05 ` [U-Boot] [PATCH v2 02/13] arc: Use asm-generic/io.h Paul Burton
2017-10-03 12:52   ` [U-Boot] [U-Boot,v2,02/13] " Tom Rini
2017-09-14 22:05 ` [U-Boot] [PATCH v2 03/13] arm: " Paul Burton
2017-10-03 12:52   ` [U-Boot] [U-Boot,v2,03/13] " Tom Rini
2017-09-14 22:05 ` [U-Boot] [PATCH v2 04/13] m68k: " Paul Burton
2017-10-03 12:52   ` [U-Boot] [U-Boot,v2,04/13] " Tom Rini
2017-09-14 22:05 ` [U-Boot] [PATCH v2 05/13] microblaze: " Paul Burton
2017-10-03 12:52   ` [U-Boot] [U-Boot,v2,05/13] " Tom Rini
2017-09-14 22:05 ` [U-Boot] [PATCH v2 06/13] nds32: " Paul Burton
2017-10-03 12:52   ` [U-Boot] [U-Boot,v2,06/13] " Tom Rini
2017-09-14 22:05 ` [U-Boot] [PATCH v2 07/13] sh: " Paul Burton
2017-10-03 12:52   ` [U-Boot] [U-Boot,v2,07/13] " Tom Rini
2017-09-14 22:05 ` [U-Boot] [PATCH v2 08/13] x86: " Paul Burton
2017-10-03 12:52   ` [U-Boot] [U-Boot,v2,08/13] " Tom Rini
2017-09-14 22:05 ` [U-Boot] [PATCH v2 09/13] xtensa: " Paul Burton
2017-10-03 12:52   ` [U-Boot] [U-Boot,v2,09/13] " Tom Rini
2017-09-14 22:05 ` [U-Boot] [PATCH v2 10/13] mips: " Paul Burton
2017-09-15  7:36   ` Daniel Schwierzeck
2017-10-03 12:52   ` [U-Boot] [U-Boot,v2,10/13] " Tom Rini
2017-09-14 22:05 ` [U-Boot] [PATCH v2 11/13] nios2: " Paul Burton
2017-10-03 12:53   ` [U-Boot] [U-Boot,v2,11/13] " Tom Rini
2017-09-14 22:05 ` [U-Boot] [PATCH v2 12/13] powerpc: " Paul Burton
2017-10-03 12:53   ` [U-Boot] [U-Boot,v2,12/13] " Tom Rini
2017-09-14 22:05 ` [U-Boot] [PATCH v2 13/13] sandbox: " Paul Burton
2017-10-03 12:53   ` [U-Boot] [U-Boot,v2,13/13] " Tom Rini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox