diff options
-rw-r--r-- | arch/arm/mach-orion/addr-map.c | 8 | ||||
-rw-r--r-- | arch/arm/mach-orion/common.c | 6 | ||||
-rw-r--r-- | arch/arm/mach-orion/common.h | 19 | ||||
-rw-r--r-- | arch/arm/mach-orion/db88f5281-setup.c | 4 | ||||
-rw-r--r-- | arch/arm/mach-orion/gpio.c | 4 | ||||
-rw-r--r-- | arch/arm/mach-orion/irq.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-orion/kurobox_pro-setup.c | 4 | ||||
-rw-r--r-- | arch/arm/mach-orion/pci.c | 32 | ||||
-rw-r--r-- | arch/arm/mach-orion/rd88f5182-setup.c | 4 | ||||
-rw-r--r-- | include/asm-arm/arch-orion/debug-macro.S | 2 | ||||
-rw-r--r-- | include/asm-arm/arch-orion/hardware.h | 4 | ||||
-rw-r--r-- | include/asm-arm/arch-orion/io.h | 8 | ||||
-rw-r--r-- | include/asm-arm/arch-orion/irqs.h | 7 | ||||
-rw-r--r-- | include/asm-arm/arch-orion/memory.h | 5 | ||||
-rw-r--r-- | include/asm-arm/arch-orion/orion.h | 7 | ||||
-rw-r--r-- | include/asm-arm/arch-orion/system.h | 5 | ||||
-rw-r--r-- | include/asm-arm/arch-orion/timex.h | 4 | ||||
-rw-r--r-- | include/asm-arm/arch-orion/uncompress.h | 4 |
18 files changed, 66 insertions, 63 deletions
diff --git a/arch/arm/mach-orion/addr-map.c b/arch/arm/mach-orion/addr-map.c index ecca987b57e9..738de617e3c7 100644 --- a/arch/arm/mach-orion/addr-map.c +++ b/arch/arm/mach-orion/addr-map.c | |||
@@ -5,8 +5,8 @@ | |||
5 | * | 5 | * |
6 | * Maintainer: Tzachi Perelstein <tzachi@marvell.com> | 6 | * Maintainer: Tzachi Perelstein <tzachi@marvell.com> |
7 | * | 7 | * |
8 | * This file is licensed under the terms of the GNU General Public | 8 | * This file is licensed under the terms of the GNU General Public |
9 | * License version 2. This program is licensed "as is" without any | 9 | * License version 2. This program is licensed "as is" without any |
10 | * warranty of any kind, whether express or implied. | 10 | * warranty of any kind, whether express or implied. |
11 | */ | 11 | */ |
12 | 12 | ||
@@ -45,9 +45,9 @@ | |||
45 | * Generic Address Decode Windows bit settings | 45 | * Generic Address Decode Windows bit settings |
46 | */ | 46 | */ |
47 | #define TARGET_DDR 0 | 47 | #define TARGET_DDR 0 |
48 | #define TARGET_DEV_BUS 1 | ||
48 | #define TARGET_PCI 3 | 49 | #define TARGET_PCI 3 |
49 | #define TARGET_PCIE 4 | 50 | #define TARGET_PCIE 4 |
50 | #define TARGET_DEV_BUS 1 | ||
51 | #define ATTR_DDR_CS(n) (((n) ==0) ? 0xe : \ | 51 | #define ATTR_DDR_CS(n) (((n) ==0) ? 0xe : \ |
52 | ((n) == 1) ? 0xd : \ | 52 | ((n) == 1) ? 0xd : \ |
53 | ((n) == 2) ? 0xb : \ | 53 | ((n) == 2) ? 0xb : \ |
@@ -64,7 +64,7 @@ | |||
64 | #define WIN_EN 1 | 64 | #define WIN_EN 1 |
65 | 65 | ||
66 | /* | 66 | /* |
67 | * Helpers to get DDR banks info | 67 | * Helpers to get DDR bank info |
68 | */ | 68 | */ |
69 | #define DDR_BASE_CS(n) ORION_DDR_REG(0x1500 + ((n) * 8)) | 69 | #define DDR_BASE_CS(n) ORION_DDR_REG(0x1500 + ((n) * 8)) |
70 | #define DDR_SIZE_CS(n) ORION_DDR_REG(0x1504 + ((n) * 8)) | 70 | #define DDR_SIZE_CS(n) ORION_DDR_REG(0x1504 + ((n) * 8)) |
diff --git a/arch/arm/mach-orion/common.c b/arch/arm/mach-orion/common.c index aae157d360e6..85c8f18268ad 100644 --- a/arch/arm/mach-orion/common.c +++ b/arch/arm/mach-orion/common.c | |||
@@ -5,8 +5,8 @@ | |||
5 | * | 5 | * |
6 | * Maintainer: Tzachi Perelstein <tzachi@marvell.com> | 6 | * Maintainer: Tzachi Perelstein <tzachi@marvell.com> |
7 | * | 7 | * |
8 | * This file is licensed under the terms of the GNU General Public | 8 | * This file is licensed under the terms of the GNU General Public |
9 | * License version 2. This program is licensed "as is" without any | 9 | * License version 2. This program is licensed "as is" without any |
10 | * warranty of any kind, whether express or implied. | 10 | * warranty of any kind, whether express or implied. |
11 | */ | 11 | */ |
12 | 12 | ||
@@ -363,7 +363,7 @@ void __init orion_init(void) | |||
363 | orion_setup_eth_wins(); | 363 | orion_setup_eth_wins(); |
364 | 364 | ||
365 | /* | 365 | /* |
366 | * REgister devices | 366 | * Register devices. |
367 | */ | 367 | */ |
368 | platform_device_register(&orion_uart); | 368 | platform_device_register(&orion_uart); |
369 | platform_device_register(&orion_ehci0); | 369 | platform_device_register(&orion_ehci0); |
diff --git a/arch/arm/mach-orion/common.h b/arch/arm/mach-orion/common.h index 74f23e61c401..bcc31adaca15 100644 --- a/arch/arm/mach-orion/common.h +++ b/arch/arm/mach-orion/common.h | |||
@@ -1,13 +1,13 @@ | |||
1 | #ifndef __ARCH_ORION_COMMON_H__ | 1 | #ifndef __ARCH_ORION_COMMON_H |
2 | #define __ARCH_ORION_COMMON_H__ | 2 | #define __ARCH_ORION_COMMON_H |
3 | 3 | ||
4 | /* | 4 | /* |
5 | * Basic Orion init functions used early by machine-setup. | 5 | * Basic Orion init functions used early by machine-setup. |
6 | */ | 6 | */ |
7 | 7 | ||
8 | void __init orion_map_io(void); | 8 | void orion_map_io(void); |
9 | void __init orion_init_irq(void); | 9 | void orion_init_irq(void); |
10 | void __init orion_init(void); | 10 | void orion_init(void); |
11 | extern struct sys_timer orion_timer; | 11 | extern struct sys_timer orion_timer; |
12 | 12 | ||
13 | /* | 13 | /* |
@@ -43,7 +43,7 @@ struct pci_bus *orion_pci_sys_scan_bus(int nr, struct pci_sys_data *sys); | |||
43 | * (/mach-orion/gpio.c). | 43 | * (/mach-orion/gpio.c). |
44 | */ | 44 | */ |
45 | 45 | ||
46 | void __init orion_gpio_set_valid_pins(u32 pins); | 46 | void orion_gpio_set_valid_pins(u32 pins); |
47 | void gpio_display(void); /* debug */ | 47 | void gpio_display(void); /* debug */ |
48 | 48 | ||
49 | /* | 49 | /* |
@@ -52,7 +52,7 @@ void gpio_display(void); /* debug */ | |||
52 | 52 | ||
53 | struct mv643xx_eth_platform_data; | 53 | struct mv643xx_eth_platform_data; |
54 | 54 | ||
55 | void __init orion_eth_init(struct mv643xx_eth_platform_data *eth_data); | 55 | void orion_eth_init(struct mv643xx_eth_platform_data *eth_data); |
56 | 56 | ||
57 | /* | 57 | /* |
58 | * Orion Sata platform_data, used by machine-setup | 58 | * Orion Sata platform_data, used by machine-setup |
@@ -60,7 +60,7 @@ void __init orion_eth_init(struct mv643xx_eth_platform_data *eth_data); | |||
60 | 60 | ||
61 | struct mv_sata_platform_data; | 61 | struct mv_sata_platform_data; |
62 | 62 | ||
63 | void __init orion_sata_init(struct mv_sata_platform_data *sata_data); | 63 | void orion_sata_init(struct mv_sata_platform_data *sata_data); |
64 | 64 | ||
65 | struct machine_desc; | 65 | struct machine_desc; |
66 | struct meminfo; | 66 | struct meminfo; |
@@ -68,4 +68,5 @@ struct tag; | |||
68 | extern void __init tag_fixup_mem32(struct machine_desc *, struct tag *, | 68 | extern void __init tag_fixup_mem32(struct machine_desc *, struct tag *, |
69 | char **, struct meminfo *); | 69 | char **, struct meminfo *); |
70 | 70 | ||
71 | #endif /* __ARCH_ORION_COMMON_H__ */ | 71 | |
72 | #endif | ||
diff --git a/arch/arm/mach-orion/db88f5281-setup.c b/arch/arm/mach-orion/db88f5281-setup.c index aad62efa1daf..a0a9e4851b5f 100644 --- a/arch/arm/mach-orion/db88f5281-setup.c +++ b/arch/arm/mach-orion/db88f5281-setup.c | |||
@@ -5,8 +5,8 @@ | |||
5 | * | 5 | * |
6 | * Maintainer: Tzachi Perelstein <tzachi@marvell.com> | 6 | * Maintainer: Tzachi Perelstein <tzachi@marvell.com> |
7 | * | 7 | * |
8 | * This file is licensed under the terms of the GNU General Public | 8 | * This file is licensed under the terms of the GNU General Public |
9 | * License version 2. This program is licensed "as is" without any | 9 | * License version 2. This program is licensed "as is" without any |
10 | * warranty of any kind, whether express or implied. | 10 | * warranty of any kind, whether express or implied. |
11 | */ | 11 | */ |
12 | 12 | ||
diff --git a/arch/arm/mach-orion/gpio.c b/arch/arm/mach-orion/gpio.c index 5a7d9cc9b800..afc7be08b30f 100644 --- a/arch/arm/mach-orion/gpio.c +++ b/arch/arm/mach-orion/gpio.c | |||
@@ -5,8 +5,8 @@ | |||
5 | * | 5 | * |
6 | * Maintainer: Tzachi Perelstein <tzachi@marvell.com> | 6 | * Maintainer: Tzachi Perelstein <tzachi@marvell.com> |
7 | * | 7 | * |
8 | * This file is licensed under the terms of the GNU General Public | 8 | * This file is licensed under the terms of the GNU General Public |
9 | * License version 2. This program is licensed "as is" without any | 9 | * License version 2. This program is licensed "as is" without any |
10 | * warranty of any kind, whether express or implied. | 10 | * warranty of any kind, whether express or implied. |
11 | */ | 11 | */ |
12 | 12 | ||
diff --git a/arch/arm/mach-orion/irq.c b/arch/arm/mach-orion/irq.c index dc8cb15a817f..7033cc1360ec 100644 --- a/arch/arm/mach-orion/irq.c +++ b/arch/arm/mach-orion/irq.c | |||
@@ -6,7 +6,7 @@ | |||
6 | * Maintainer: Tzachi Perelstein <tzachi@marvell.com> | 6 | * Maintainer: Tzachi Perelstein <tzachi@marvell.com> |
7 | * | 7 | * |
8 | * This file is licensed under the terms of the GNU General Public | 8 | * This file is licensed under the terms of the GNU General Public |
9 | * License version 2. This program is licensed "as is" without any | 9 | * License version 2. This program is licensed "as is" without any |
10 | * warranty of any kind, whether express or implied. | 10 | * warranty of any kind, whether express or implied. |
11 | */ | 11 | */ |
12 | 12 | ||
diff --git a/arch/arm/mach-orion/kurobox_pro-setup.c b/arch/arm/mach-orion/kurobox_pro-setup.c index bf7034df8a62..be417e7f423d 100644 --- a/arch/arm/mach-orion/kurobox_pro-setup.c +++ b/arch/arm/mach-orion/kurobox_pro-setup.c | |||
@@ -3,8 +3,8 @@ | |||
3 | * | 3 | * |
4 | * Maintainer: Ronen Shitrit <rshitrit@marvell.com> | 4 | * Maintainer: Ronen Shitrit <rshitrit@marvell.com> |
5 | * | 5 | * |
6 | * This file is licensed under the terms of the GNU General Public | 6 | * This file is licensed under the terms of the GNU General Public |
7 | * License version 2. This program is licensed "as is" without any | 7 | * License version 2. This program is licensed "as is" without any |
8 | * warranty of any kind, whether express or implied. | 8 | * warranty of any kind, whether express or implied. |
9 | */ | 9 | */ |
10 | 10 | ||
diff --git a/arch/arm/mach-orion/pci.c b/arch/arm/mach-orion/pci.c index e3aab14b943c..59684cc329bc 100644 --- a/arch/arm/mach-orion/pci.c +++ b/arch/arm/mach-orion/pci.c | |||
@@ -1,12 +1,12 @@ | |||
1 | /* | 1 | /* |
2 | * arch/arm/mach-orion/pci.c | 2 | * arch/arm/mach-orion/pci.c |
3 | * | 3 | * |
4 | * PCI and PCIE functions for Marvell Orion System On Chip | 4 | * PCI and PCIe functions for Marvell Orion System On Chip |
5 | * | 5 | * |
6 | * Maintainer: Tzachi Perelstein <tzachi@marvell.com> | 6 | * Maintainer: Tzachi Perelstein <tzachi@marvell.com> |
7 | * | 7 | * |
8 | * This file is licensed under the terms of the GNU General Public | 8 | * This file is licensed under the terms of the GNU General Public |
9 | * License version 2. This program is licensed "as is" without any | 9 | * License version 2. This program is licensed "as is" without any |
10 | * warranty of any kind, whether express or implied. | 10 | * warranty of any kind, whether express or implied. |
11 | */ | 11 | */ |
12 | 12 | ||
@@ -18,12 +18,12 @@ | |||
18 | #include "common.h" | 18 | #include "common.h" |
19 | 19 | ||
20 | /***************************************************************************** | 20 | /***************************************************************************** |
21 | * Orion has one PCIE controller and one PCI controller. | 21 | * Orion has one PCIe controller and one PCI controller. |
22 | * | 22 | * |
23 | * Note1: The local PCIE bus number is '0'. The local PCI bus number | 23 | * Note1: The local PCIe bus number is '0'. The local PCI bus number |
24 | * follows the scanned PCIE bridged busses, if any. | 24 | * follows the scanned PCIe bridged busses, if any. |
25 | * | 25 | * |
26 | * Note2: It is possible for PCI/PCIE agents to access many subsystem's | 26 | * Note2: It is possible for PCI/PCIe agents to access many subsystem's |
27 | * space, by configuring BARs and Address Decode Windows, e.g. flashes on | 27 | * space, by configuring BARs and Address Decode Windows, e.g. flashes on |
28 | * device bus, Orion registers, etc. However this code only enable the | 28 | * device bus, Orion registers, etc. However this code only enable the |
29 | * access to DDR banks. | 29 | * access to DDR banks. |
@@ -31,7 +31,7 @@ | |||
31 | 31 | ||
32 | 32 | ||
33 | /***************************************************************************** | 33 | /***************************************************************************** |
34 | * PCIE controller | 34 | * PCIe controller |
35 | ****************************************************************************/ | 35 | ****************************************************************************/ |
36 | #define PCIE_BASE ((void __iomem *)ORION_PCIE_VIRT_BASE) | 36 | #define PCIE_BASE ((void __iomem *)ORION_PCIE_VIRT_BASE) |
37 | 37 | ||
@@ -67,7 +67,7 @@ static int pcie_valid_config(int bus, int dev) | |||
67 | 67 | ||
68 | 68 | ||
69 | /* | 69 | /* |
70 | * PCIE config cycles are done by programming the PCIE_CONF_ADDR register | 70 | * PCIe config cycles are done by programming the PCIE_CONF_ADDR register |
71 | * and then reading the PCIE_CONF_DATA register. Need to make sure these | 71 | * and then reading the PCIE_CONF_DATA register. Need to make sure these |
72 | * transactions are atomic. | 72 | * transactions are atomic. |
73 | */ | 73 | */ |
@@ -133,7 +133,7 @@ static int pcie_wr_conf(struct pci_bus *bus, u32 devfn, | |||
133 | return ret; | 133 | return ret; |
134 | } | 134 | } |
135 | 135 | ||
136 | struct pci_ops pcie_ops = { | 136 | static struct pci_ops pcie_ops = { |
137 | .read = pcie_rd_conf, | 137 | .read = pcie_rd_conf, |
138 | .write = pcie_wr_conf, | 138 | .write = pcie_wr_conf, |
139 | }; | 139 | }; |
@@ -170,23 +170,23 @@ static int __init pcie_setup(struct pci_sys_data *sys) | |||
170 | /* | 170 | /* |
171 | * IORESOURCE_IO | 171 | * IORESOURCE_IO |
172 | */ | 172 | */ |
173 | res[0].name = "PCI-EX I/O Space"; | 173 | res[0].name = "PCIe I/O Space"; |
174 | res[0].flags = IORESOURCE_IO; | 174 | res[0].flags = IORESOURCE_IO; |
175 | res[0].start = ORION_PCIE_IO_BUS_BASE; | 175 | res[0].start = ORION_PCIE_IO_BUS_BASE; |
176 | res[0].end = res[0].start + ORION_PCIE_IO_SIZE - 1; | 176 | res[0].end = res[0].start + ORION_PCIE_IO_SIZE - 1; |
177 | if (request_resource(&ioport_resource, &res[0])) | 177 | if (request_resource(&ioport_resource, &res[0])) |
178 | panic("Request PCIE IO resource failed\n"); | 178 | panic("Request PCIe IO resource failed\n"); |
179 | sys->resource[0] = &res[0]; | 179 | sys->resource[0] = &res[0]; |
180 | 180 | ||
181 | /* | 181 | /* |
182 | * IORESOURCE_MEM | 182 | * IORESOURCE_MEM |
183 | */ | 183 | */ |
184 | res[1].name = "PCI-EX Memory Space"; | 184 | res[1].name = "PCIe Memory Space"; |
185 | res[1].flags = IORESOURCE_MEM; | 185 | res[1].flags = IORESOURCE_MEM; |
186 | res[1].start = ORION_PCIE_MEM_PHYS_BASE; | 186 | res[1].start = ORION_PCIE_MEM_PHYS_BASE; |
187 | res[1].end = res[1].start + ORION_PCIE_MEM_SIZE - 1; | 187 | res[1].end = res[1].start + ORION_PCIE_MEM_SIZE - 1; |
188 | if (request_resource(&iomem_resource, &res[1])) | 188 | if (request_resource(&iomem_resource, &res[1])) |
189 | panic("Request PCIE Memory resource failed\n"); | 189 | panic("Request PCIe Memory resource failed\n"); |
190 | sys->resource[1] = &res[1]; | 190 | sys->resource[1] = &res[1]; |
191 | 191 | ||
192 | sys->resource[2] = NULL; | 192 | sys->resource[2] = NULL; |
@@ -351,7 +351,7 @@ static int orion_pci_wr_conf(struct pci_bus *bus, u32 devfn, | |||
351 | PCI_FUNC(devfn), where, size, val); | 351 | PCI_FUNC(devfn), where, size, val); |
352 | } | 352 | } |
353 | 353 | ||
354 | struct pci_ops pci_ops = { | 354 | static struct pci_ops pci_ops = { |
355 | .read = orion_pci_rd_conf, | 355 | .read = orion_pci_rd_conf, |
356 | .write = orion_pci_wr_conf, | 356 | .write = orion_pci_wr_conf, |
357 | }; | 357 | }; |
@@ -508,7 +508,7 @@ static int __init pci_setup(struct pci_sys_data *sys) | |||
508 | 508 | ||
509 | 509 | ||
510 | /***************************************************************************** | 510 | /***************************************************************************** |
511 | * General PCIE + PCI | 511 | * General PCIe + PCI |
512 | ****************************************************************************/ | 512 | ****************************************************************************/ |
513 | static void __devinit rc_pci_fixup(struct pci_dev *dev) | 513 | static void __devinit rc_pci_fixup(struct pci_dev *dev) |
514 | { | 514 | { |
diff --git a/arch/arm/mach-orion/rd88f5182-setup.c b/arch/arm/mach-orion/rd88f5182-setup.c index 662c097ca333..f3e38ecda1ce 100644 --- a/arch/arm/mach-orion/rd88f5182-setup.c +++ b/arch/arm/mach-orion/rd88f5182-setup.c | |||
@@ -5,8 +5,8 @@ | |||
5 | * | 5 | * |
6 | * Maintainer: Ronen Shitrit <rshitrit@marvell.com> | 6 | * Maintainer: Ronen Shitrit <rshitrit@marvell.com> |
7 | * | 7 | * |
8 | * This file is licensed under the terms of the GNU General Public | 8 | * This file is licensed under the terms of the GNU General Public |
9 | * License version 2. This program is licensed "as is" without any | 9 | * License version 2. This program is licensed "as is" without any |
10 | * warranty of any kind, whether express or implied. | 10 | * warranty of any kind, whether express or implied. |
11 | */ | 11 | */ |
12 | 12 | ||
diff --git a/include/asm-arm/arch-orion/debug-macro.S b/include/asm-arm/arch-orion/debug-macro.S index 2746220f5d85..c847f8c92506 100644 --- a/include/asm-arm/arch-orion/debug-macro.S +++ b/include/asm-arm/arch-orion/debug-macro.S | |||
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | * linux/include/asm-arm/arch-orion/debug-macro.S | 2 | * include/asm-arm/arch-orion/debug-macro.S |
3 | * | 3 | * |
4 | * Debugging macro include header | 4 | * Debugging macro include header |
5 | * | 5 | * |
diff --git a/include/asm-arm/arch-orion/hardware.h b/include/asm-arm/arch-orion/hardware.h index 65da374de735..998af6029c7d 100644 --- a/include/asm-arm/arch-orion/hardware.h +++ b/include/asm-arm/arch-orion/hardware.h | |||
@@ -6,8 +6,8 @@ | |||
6 | * published by the Free Software Foundation. | 6 | * published by the Free Software Foundation. |
7 | */ | 7 | */ |
8 | 8 | ||
9 | #ifndef __ASM_ARCH_HARDWARE_H__ | 9 | #ifndef __ASM_ARCH_HARDWARE_H |
10 | #define __ASM_ARCH_HARDWARE_H__ | 10 | #define __ASM_ARCH_HARDWARE_H |
11 | 11 | ||
12 | #include "orion.h" | 12 | #include "orion.h" |
13 | 13 | ||
diff --git a/include/asm-arm/arch-orion/io.h b/include/asm-arm/arch-orion/io.h index 486dc04d7643..23820153b61c 100644 --- a/include/asm-arm/arch-orion/io.h +++ b/include/asm-arm/arch-orion/io.h | |||
@@ -3,13 +3,13 @@ | |||
3 | * | 3 | * |
4 | * Tzachi Perelstein <tzachi@marvell.com> | 4 | * Tzachi Perelstein <tzachi@marvell.com> |
5 | * | 5 | * |
6 | * This file is licensed under the terms of the GNU General Public | 6 | * This file is licensed under the terms of the GNU General Public |
7 | * License version 2. This program is licensed "as is" without any | 7 | * License version 2. This program is licensed "as is" without any |
8 | * warranty of any kind, whether express or implied. | 8 | * warranty of any kind, whether express or implied. |
9 | */ | 9 | */ |
10 | 10 | ||
11 | #ifndef __ASM_ARM_ARCH_IO_H | 11 | #ifndef __ASM_ARCH_IO_H |
12 | #define __ASM_ARM_ARCH_IO_H | 12 | #define __ASM_ARCH_IO_H |
13 | 13 | ||
14 | #include "orion.h" | 14 | #include "orion.h" |
15 | 15 | ||
diff --git a/include/asm-arm/arch-orion/irqs.h b/include/asm-arm/arch-orion/irqs.h index eea65ca6076a..70a2420456a3 100644 --- a/include/asm-arm/arch-orion/irqs.h +++ b/include/asm-arm/arch-orion/irqs.h | |||
@@ -10,8 +10,8 @@ | |||
10 | * warranty of any kind, whether express or implied. | 10 | * warranty of any kind, whether express or implied. |
11 | */ | 11 | */ |
12 | 12 | ||
13 | #ifndef __ASM_ARCH_IRQS_H__ | 13 | #ifndef __ASM_ARCH_IRQS_H |
14 | #define __ASM_ARCH_IRQS_H__ | 14 | #define __ASM_ARCH_IRQS_H |
15 | 15 | ||
16 | #include "orion.h" /* need GPIO_MAX */ | 16 | #include "orion.h" /* need GPIO_MAX */ |
17 | 17 | ||
@@ -58,4 +58,5 @@ | |||
58 | 58 | ||
59 | #define NR_IRQS (IRQ_ORION_GPIO_START + NR_GPIO_IRQS) | 59 | #define NR_IRQS (IRQ_ORION_GPIO_START + NR_GPIO_IRQS) |
60 | 60 | ||
61 | #endif /* __ASM_ARCH_IRQS_H__ */ | 61 | |
62 | #endif | ||
diff --git a/include/asm-arm/arch-orion/memory.h b/include/asm-arm/arch-orion/memory.h index d954dba87ced..d9300d62a534 100644 --- a/include/asm-arm/arch-orion/memory.h +++ b/include/asm-arm/arch-orion/memory.h | |||
@@ -4,12 +4,13 @@ | |||
4 | * Marvell Orion memory definitions | 4 | * Marvell Orion memory definitions |
5 | */ | 5 | */ |
6 | 6 | ||
7 | #ifndef __ASM_ARCH_MMU_H | 7 | #ifndef __ASM_ARCH_MEMORY_H |
8 | #define __ASM_ARCH_MMU_H | 8 | #define __ASM_ARCH_MEMORY_H |
9 | 9 | ||
10 | #define PHYS_OFFSET UL(0x00000000) | 10 | #define PHYS_OFFSET UL(0x00000000) |
11 | 11 | ||
12 | #define __virt_to_bus(x) __virt_to_phys(x) | 12 | #define __virt_to_bus(x) __virt_to_phys(x) |
13 | #define __bus_to_virt(x) __phys_to_virt(x) | 13 | #define __bus_to_virt(x) __phys_to_virt(x) |
14 | 14 | ||
15 | |||
15 | #endif | 16 | #endif |
diff --git a/include/asm-arm/arch-orion/orion.h b/include/asm-arm/arch-orion/orion.h index d0b32c379ae4..01f1299472d1 100644 --- a/include/asm-arm/arch-orion/orion.h +++ b/include/asm-arm/arch-orion/orion.h | |||
@@ -11,8 +11,8 @@ | |||
11 | * warranty of any kind, whether express or implied. | 11 | * warranty of any kind, whether express or implied. |
12 | */ | 12 | */ |
13 | 13 | ||
14 | #ifndef __ASM_ARCH_ORION_H__ | 14 | #ifndef __ASM_ARCH_ORION_H |
15 | #define __ASM_ARCH_ORION_H__ | 15 | #define __ASM_ARCH_ORION_H |
16 | 16 | ||
17 | /***************************************************************************** | 17 | /***************************************************************************** |
18 | * Orion Address Maps | 18 | * Orion Address Maps |
@@ -91,6 +91,7 @@ | |||
91 | 91 | ||
92 | #define ORION_BRIDGE_VIRT_BASE (ORION_REGS_VIRT_BASE | 0x20000) | 92 | #define ORION_BRIDGE_VIRT_BASE (ORION_REGS_VIRT_BASE | 0x20000) |
93 | #define ORION_BRIDGE_REG(x) (ORION_BRIDGE_VIRT_BASE | (x)) | 93 | #define ORION_BRIDGE_REG(x) (ORION_BRIDGE_VIRT_BASE | (x)) |
94 | #define TIMER_VIRT_BASE (ORION_BRIDGE_VIRT_BASE | 0x300) | ||
94 | 95 | ||
95 | #define ORION_PCI_VIRT_BASE (ORION_REGS_VIRT_BASE | 0x30000) | 96 | #define ORION_PCI_VIRT_BASE (ORION_REGS_VIRT_BASE | 0x30000) |
96 | #define ORION_PCI_REG(x) (ORION_PCI_VIRT_BASE | (x)) | 97 | #define ORION_PCI_REG(x) (ORION_PCI_VIRT_BASE | (x)) |
@@ -154,7 +155,5 @@ | |||
154 | #define MAIN_IRQ_CAUSE ORION_BRIDGE_REG(0x200) | 155 | #define MAIN_IRQ_CAUSE ORION_BRIDGE_REG(0x200) |
155 | #define MAIN_IRQ_MASK ORION_BRIDGE_REG(0x204) | 156 | #define MAIN_IRQ_MASK ORION_BRIDGE_REG(0x204) |
156 | 157 | ||
157 | #define TIMER_VIRT_BASE (ORION_BRIDGE_VIRT_BASE | 0x300) | ||
158 | |||
159 | 158 | ||
160 | #endif | 159 | #endif |
diff --git a/include/asm-arm/arch-orion/system.h b/include/asm-arm/arch-orion/system.h index 17704c68f90e..653f992bbe60 100644 --- a/include/asm-arm/arch-orion/system.h +++ b/include/asm-arm/arch-orion/system.h | |||
@@ -3,8 +3,8 @@ | |||
3 | * | 3 | * |
4 | * Tzachi Perelstein <tzachi@marvell.com> | 4 | * Tzachi Perelstein <tzachi@marvell.com> |
5 | * | 5 | * |
6 | * This file is licensed under the terms of the GNU General Public | 6 | * This file is licensed under the terms of the GNU General Public |
7 | * License version 2. This program is licensed "as is" without any | 7 | * License version 2. This program is licensed "as is" without any |
8 | * warranty of any kind, whether express or implied. | 8 | * warranty of any kind, whether express or implied. |
9 | */ | 9 | */ |
10 | 10 | ||
@@ -28,4 +28,5 @@ static inline void arch_reset(char mode) | |||
28 | orion_setbits(CPU_SOFT_RESET, 1); | 28 | orion_setbits(CPU_SOFT_RESET, 1); |
29 | } | 29 | } |
30 | 30 | ||
31 | |||
31 | #endif | 32 | #endif |
diff --git a/include/asm-arm/arch-orion/timex.h b/include/asm-arm/arch-orion/timex.h index cc0fc7075ebe..85588d9c22ef 100644 --- a/include/asm-arm/arch-orion/timex.h +++ b/include/asm-arm/arch-orion/timex.h | |||
@@ -3,8 +3,8 @@ | |||
3 | * | 3 | * |
4 | * Tzachi Perelstein <tzachi@marvell.com> | 4 | * Tzachi Perelstein <tzachi@marvell.com> |
5 | * | 5 | * |
6 | * This file is licensed under the terms of the GNU General Public | 6 | * This file is licensed under the terms of the GNU General Public |
7 | * License version 2. This program is licensed "as is" without any | 7 | * License version 2. This program is licensed "as is" without any |
8 | * warranty of any kind, whether express or implied. | 8 | * warranty of any kind, whether express or implied. |
9 | */ | 9 | */ |
10 | 10 | ||
diff --git a/include/asm-arm/arch-orion/uncompress.h b/include/asm-arm/arch-orion/uncompress.h index 59f44039909a..03306cdd51be 100644 --- a/include/asm-arm/arch-orion/uncompress.h +++ b/include/asm-arm/arch-orion/uncompress.h | |||
@@ -3,8 +3,8 @@ | |||
3 | * | 3 | * |
4 | * Tzachi Perelstein <tzachi@marvell.com> | 4 | * Tzachi Perelstein <tzachi@marvell.com> |
5 | * | 5 | * |
6 | * This file is licensed under the terms of the GNU General Public | 6 | * This file is licensed under the terms of the GNU General Public |
7 | * License version 2. This program is licensed "as is" without any | 7 | * License version 2. This program is licensed "as is" without any |
8 | * warranty of any kind, whether express or implied. | 8 | * warranty of any kind, whether express or implied. |
9 | */ | 9 | */ |
10 | 10 | ||