diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2012-10-01 21:32:45 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-10-01 21:32:45 -0400 |
commit | ac9e7ab32fe42489808c8d9fc89ad413d2805766 (patch) | |
tree | d5628b62e23fae6a0acd000a7bb16030c89f2073 /arch/arm/mach-orion5x | |
parent | 2a2bf85f05e42b12ea6bfe821e2d19221cf93555 (diff) | |
parent | b98138e00d96abc85b100c9b6886f105d9868ab5 (diff) |
Merge tag 'cleanup2' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc
Pull ARM soc cleanups, part 2 from Olof Johansson:
"A shorter cleanup branch submitted separately due to dependencies with
some of the previous topics.
Major thing here is that the Broadcom bcmring platform is removed.
It's an SoC that's used on some stationary VoIP platforms, and is in
desperate need of some cleanup. Broadcom came back and suggested that
we just deprecate the platform for now, since they aren't going to
spend the resources needed on cleaning it up, and there are no users
of the platform directly from mainline."
Fix some conflicts due to BCM2835 getting added next to the removed
BCMRING, and removal of tegra files that had been converted to
devicetree.
* tag 'cleanup2' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc:
ARM: Orion5x: ts78xx: Add IOMEM for virtual addresses.
ARM: ux500: use __iomem pointers for MMIO
ARM: Remove mach-bcmring
ARM: clps711x: Remove board support for CEIVA
ARM: clps711x: Fix register definitions
ARM: clps711x: Fix lowlevel debug-macro
ARM: clps711x: Added simple clock framework
pinctrl: tegra: move pinconf-tegra.h content into drivers/pinctrl
ARM: tegra: delete unused headers
ARM: tegra: remove useless includes of <mach/*.h>
ARM: tegra: remove dead code
Diffstat (limited to 'arch/arm/mach-orion5x')
-rw-r--r-- | arch/arm/mach-orion5x/ts78xx-setup.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/arch/arm/mach-orion5x/ts78xx-setup.c b/arch/arm/mach-orion5x/ts78xx-setup.c index b4203277f3cd..b0727dcd1ef9 100644 --- a/arch/arm/mach-orion5x/ts78xx-setup.c +++ b/arch/arm/mach-orion5x/ts78xx-setup.c | |||
@@ -36,7 +36,7 @@ | |||
36 | * FPGA - lives where the PCI bus would be at ORION5X_PCI_MEM_PHYS_BASE | 36 | * FPGA - lives where the PCI bus would be at ORION5X_PCI_MEM_PHYS_BASE |
37 | */ | 37 | */ |
38 | #define TS78XX_FPGA_REGS_PHYS_BASE 0xe8000000 | 38 | #define TS78XX_FPGA_REGS_PHYS_BASE 0xe8000000 |
39 | #define TS78XX_FPGA_REGS_VIRT_BASE 0xff900000 | 39 | #define TS78XX_FPGA_REGS_VIRT_BASE IOMEM(0xff900000) |
40 | #define TS78XX_FPGA_REGS_SIZE SZ_1M | 40 | #define TS78XX_FPGA_REGS_SIZE SZ_1M |
41 | 41 | ||
42 | static struct ts78xx_fpga_data ts78xx_fpga = { | 42 | static struct ts78xx_fpga_data ts78xx_fpga = { |
@@ -50,7 +50,7 @@ static struct ts78xx_fpga_data ts78xx_fpga = { | |||
50 | ****************************************************************************/ | 50 | ****************************************************************************/ |
51 | static struct map_desc ts78xx_io_desc[] __initdata = { | 51 | static struct map_desc ts78xx_io_desc[] __initdata = { |
52 | { | 52 | { |
53 | .virtual = TS78XX_FPGA_REGS_VIRT_BASE, | 53 | .virtual = (unsigned long)TS78XX_FPGA_REGS_VIRT_BASE, |
54 | .pfn = __phys_to_pfn(TS78XX_FPGA_REGS_PHYS_BASE), | 54 | .pfn = __phys_to_pfn(TS78XX_FPGA_REGS_PHYS_BASE), |
55 | .length = TS78XX_FPGA_REGS_SIZE, | 55 | .length = TS78XX_FPGA_REGS_SIZE, |
56 | .type = MT_DEVICE, | 56 | .type = MT_DEVICE, |
@@ -80,8 +80,8 @@ static struct mv_sata_platform_data ts78xx_sata_data = { | |||
80 | /***************************************************************************** | 80 | /***************************************************************************** |
81 | * RTC M48T86 - nicked^Wborrowed from arch/arm/mach-ep93xx/ts72xx.c | 81 | * RTC M48T86 - nicked^Wborrowed from arch/arm/mach-ep93xx/ts72xx.c |
82 | ****************************************************************************/ | 82 | ****************************************************************************/ |
83 | #define TS_RTC_CTRL (TS78XX_FPGA_REGS_VIRT_BASE | 0x808) | 83 | #define TS_RTC_CTRL (TS78XX_FPGA_REGS_VIRT_BASE + 0x808) |
84 | #define TS_RTC_DATA (TS78XX_FPGA_REGS_VIRT_BASE | 0x80c) | 84 | #define TS_RTC_DATA (TS78XX_FPGA_REGS_VIRT_BASE + 0x80c) |
85 | 85 | ||
86 | static unsigned char ts78xx_ts_rtc_readbyte(unsigned long addr) | 86 | static unsigned char ts78xx_ts_rtc_readbyte(unsigned long addr) |
87 | { | 87 | { |
@@ -162,8 +162,8 @@ static void ts78xx_ts_rtc_unload(void) | |||
162 | /***************************************************************************** | 162 | /***************************************************************************** |
163 | * NAND Flash | 163 | * NAND Flash |
164 | ****************************************************************************/ | 164 | ****************************************************************************/ |
165 | #define TS_NAND_CTRL (TS78XX_FPGA_REGS_VIRT_BASE | 0x800) /* VIRT */ | 165 | #define TS_NAND_CTRL (TS78XX_FPGA_REGS_VIRT_BASE + 0x800) /* VIRT */ |
166 | #define TS_NAND_DATA (TS78XX_FPGA_REGS_PHYS_BASE | 0x804) /* PHYS */ | 166 | #define TS_NAND_DATA (TS78XX_FPGA_REGS_PHYS_BASE + 0x804) /* PHYS */ |
167 | 167 | ||
168 | /* | 168 | /* |
169 | * hardware specific access to control-lines | 169 | * hardware specific access to control-lines |