forked from luck/tmp_suning_uos_patched
ARM: 6788/1: SPEAr: Include mach/hardware.h instead of mach/spear.h
This patch makes inclusion of hardware.h and spear.h consistent over all spear variants. Now we will include hardware.h, wherever we need to use hardware macros. spear.h will be automatically included by hardware.h Signed-off-by: Viresh Kumar <viresh.kumar@st.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
This commit is contained in:
parent
410782beba
commit
02aa06bc49
|
@ -13,7 +13,6 @@
|
|||
|
||||
#include <asm/hardware/vic.h>
|
||||
#include <mach/hardware.h>
|
||||
#include <mach/spear.h>
|
||||
|
||||
.macro disable_fiq
|
||||
.endm
|
||||
|
|
|
@ -15,6 +15,7 @@
|
|||
#define __MACH_HARDWARE_H
|
||||
|
||||
#include <plat/hardware.h>
|
||||
#include <mach/spear.h>
|
||||
|
||||
/* Vitual to physical translation of statically mapped space */
|
||||
#define IO_ADDRESS(x) (x | 0xF0000000)
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
#ifndef __MACH_MISC_REGS_H
|
||||
#define __MACH_MISC_REGS_H
|
||||
|
||||
#include <mach/spear.h>
|
||||
#include <mach/hardware.h>
|
||||
|
||||
#define MISC_BASE IOMEM(VA_SPEAR3XX_ICM3_MISC_REG_BASE)
|
||||
|
||||
|
|
|
@ -14,7 +14,6 @@
|
|||
#ifndef __MACH_SPEAR3XX_H
|
||||
#define __MACH_SPEAR3XX_H
|
||||
|
||||
#include <mach/hardware.h>
|
||||
#include <mach/spear300.h>
|
||||
#include <mach/spear310.h>
|
||||
#include <mach/spear320.h>
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
#include <asm/irq.h>
|
||||
#include <plat/shirq.h>
|
||||
#include <mach/generic.h>
|
||||
#include <mach/spear.h>
|
||||
#include <mach/hardware.h>
|
||||
|
||||
/* pad multiplexing support */
|
||||
/* muxing registers */
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
#include <asm/mach/arch.h>
|
||||
#include <asm/mach-types.h>
|
||||
#include <mach/generic.h>
|
||||
#include <mach/spear.h>
|
||||
#include <mach/hardware.h>
|
||||
|
||||
/* padmux devices to enable */
|
||||
static struct pmx_dev *pmx_devs[] = {
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
#include <asm/irq.h>
|
||||
#include <plat/shirq.h>
|
||||
#include <mach/generic.h>
|
||||
#include <mach/spear.h>
|
||||
#include <mach/hardware.h>
|
||||
|
||||
/* pad multiplexing support */
|
||||
/* muxing registers */
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
#include <asm/mach/arch.h>
|
||||
#include <asm/mach-types.h>
|
||||
#include <mach/generic.h>
|
||||
#include <mach/spear.h>
|
||||
#include <mach/hardware.h>
|
||||
|
||||
/* padmux devices to enable */
|
||||
static struct pmx_dev *pmx_devs[] = {
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
#include <asm/irq.h>
|
||||
#include <plat/shirq.h>
|
||||
#include <mach/generic.h>
|
||||
#include <mach/spear.h>
|
||||
#include <mach/hardware.h>
|
||||
|
||||
/* pad multiplexing support */
|
||||
/* muxing registers */
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
#include <asm/mach/arch.h>
|
||||
#include <asm/mach-types.h>
|
||||
#include <mach/generic.h>
|
||||
#include <mach/spear.h>
|
||||
#include <mach/hardware.h>
|
||||
|
||||
/* padmux devices to enable */
|
||||
static struct pmx_dev *pmx_devs[] = {
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
#include <asm/irq.h>
|
||||
#include <asm/mach/arch.h>
|
||||
#include <mach/generic.h>
|
||||
#include <mach/spear.h>
|
||||
#include <mach/hardware.h>
|
||||
|
||||
/* Add spear3xx machines common devices here */
|
||||
/* gpio device registration */
|
||||
|
|
|
@ -13,7 +13,6 @@
|
|||
|
||||
#include <asm/hardware/vic.h>
|
||||
#include <mach/hardware.h>
|
||||
#include <mach/spear.h>
|
||||
|
||||
.macro disable_fiq
|
||||
.endm
|
||||
|
|
|
@ -15,6 +15,7 @@
|
|||
#define __MACH_HARDWARE_H
|
||||
|
||||
#include <plat/hardware.h>
|
||||
#include <mach/spear.h>
|
||||
|
||||
/* Vitual to physical translation of statically mapped space */
|
||||
#define IO_ADDRESS(x) (x | 0xF0000000)
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
#ifndef __MACH_MISC_REGS_H
|
||||
#define __MACH_MISC_REGS_H
|
||||
|
||||
#include <mach/spear.h>
|
||||
#include <mach/hardware.h>
|
||||
|
||||
#define MISC_BASE IOMEM(VA_SPEAR6XX_ICM3_MISC_REG_BASE)
|
||||
|
||||
|
|
|
@ -14,7 +14,6 @@
|
|||
#ifndef __MACH_SPEAR6XX_H
|
||||
#define __MACH_SPEAR6XX_H
|
||||
|
||||
#include <mach/hardware.h>
|
||||
#include <mach/spear600.h>
|
||||
|
||||
#define SPEAR6XX_ML_SDRAM_BASE 0x00000000
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
#include <linux/ptrace.h>
|
||||
#include <asm/irq.h>
|
||||
#include <mach/generic.h>
|
||||
#include <mach/spear.h>
|
||||
#include <mach/hardware.h>
|
||||
|
||||
/* Add spear600 specific devices here */
|
||||
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
#include <asm/mach/arch.h>
|
||||
#include <asm/mach-types.h>
|
||||
#include <mach/generic.h>
|
||||
#include <mach/spear.h>
|
||||
#include <mach/hardware.h>
|
||||
|
||||
static struct amba_device *amba_devs[] __initdata = {
|
||||
&gpio_device[0],
|
||||
|
|
|
@ -19,8 +19,8 @@
|
|||
#include <asm/irq.h>
|
||||
#include <asm/mach/arch.h>
|
||||
#include <mach/generic.h>
|
||||
#include <mach/hardware.h>
|
||||
#include <mach/irqs.h>
|
||||
#include <mach/spear.h>
|
||||
|
||||
/* Add spear6xx machines common devices here */
|
||||
/* uart device registration */
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
*/
|
||||
|
||||
#include <linux/amba/serial.h>
|
||||
#include <mach/spear.h>
|
||||
#include <mach/hardware.h>
|
||||
|
||||
.macro addruart, rp, rv
|
||||
mov \rp, #SPEAR_DBG_UART_BASE @ Physical base
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
|
||||
#include <linux/io.h>
|
||||
#include <asm/hardware/sp810.h>
|
||||
#include <mach/spear.h>
|
||||
#include <mach/hardware.h>
|
||||
|
||||
static inline void arch_idle(void)
|
||||
{
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
|
||||
#include <linux/io.h>
|
||||
#include <linux/amba/serial.h>
|
||||
#include <mach/spear.h>
|
||||
#include <mach/hardware.h>
|
||||
|
||||
#ifndef __PLAT_UNCOMPRESS_H
|
||||
#define __PLAT_UNCOMPRESS_H
|
||||
|
|
|
@ -23,7 +23,6 @@
|
|||
#include <mach/generic.h>
|
||||
#include <mach/hardware.h>
|
||||
#include <mach/irqs.h>
|
||||
#include <mach/spear.h>
|
||||
|
||||
/*
|
||||
* We would use TIMER0 and TIMER1 as clockevent and clocksource.
|
||||
|
|
Loading…
Reference in New Issue
Block a user