Skip to contentSkip to conversation

ep93xx: Move peripheral defines to local SoC header

PATCH Superseded Ryan Mallon 2 participants 2 messages Mar 12, 2012 – Mar 13, 2012

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH v4 6/11 ep93xx: Move peripheral defines to local SoC header

Move the AHB/APB peripheral defines to local SoC header since they are only needed by the core SoC code. The UART defines are not moved because they are used by the mach/uncompress.h header.

---
 arch/arm/mach-ep93xx/core.c                     |    1 +
 arch/arm/mach-ep93xx/dma.c                      |    2 +
 arch/arm/mach-ep93xx/include/mach/ep93xx-regs.h |   61 +----------------------
 arch/arm/mach-ep93xx/soc.h                      |   57 +++++++++++++++++++++
 4 files changed, 61 insertions(+), 60 deletions(-)
arch/arm/mach-ep93xx/core.c +1 -0
index 3134baf..776b346 100644
@@ -46,6 +46,7 @@
 
 #include <asm/hardware/vic.h>
 
+#include "soc.h"
 
 /*************************************************************************
  * Static I/O mappings that are needed for all EP93xx platforms
arch/arm/mach-ep93xx/dma.c +2 -0
index 5a25708..16976d7 100644
@@ -28,6 +28,8 @@
 #include <mach/dma.h>
 #include <mach/hardware.h>
 
+#include "soc.h"
+
 #define DMA_CHANNEL(_name, _base, _irq) \
 	{ .name = (_name), .base = (_base), .irq = (_irq) }
 
arch/arm/mach-ep93xx/include/mach/ep93xx-regs.h +1 -60

77 lines not on this page · raw message

arch/arm/mach-ep93xx/soc.h +57 -0

61 lines not on this page · raw message

Signature · 1 line
1.7.0.4
#1 lore raw

PATCH v4 6/11 ep93xx: Move peripheral defines to local SoC header

Quoted 7 lines · Ryan Mallon

Move the AHB/APB peripheral defines to local SoC header since they are only needed by the core SoC code. The UART defines are not moved because they are used by the mach/uncompress.h header.