ep93xx: Move peripheral defines to local SoC header
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.
Signed-off-by Ryan Mallon <[email protected]>
Reviewed-by Mika Westerberg <[email protected]>
Acked-by Hartley Sweeten <[email protected]>
--- 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
@@ -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
@@ -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
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.hheader.Signed-off-by Ryan Mallon <[email protected]>Reviewed-by Mika Westerberg <[email protected]>Acked-by Hartley Sweeten <[email protected]>
Acked-by Arnd Bergmann <[email protected]>