diff options
author | Nicolas Pitre <nicolas.pitre@linaro.org> | 2010-10-14 22:21:46 -0400 |
---|---|---|
committer | Nicolas Pitre <nico@fluxnic.net> | 2010-10-20 00:27:46 -0400 |
commit | 6451d7783ba5ff24eb1a544eaa6665b890f30466 (patch) | |
tree | 78651bbbed163fe933cd42deabebad682d7c03dc /arch/arm/mach-davinci | |
parent | c293393faa8e11a5a80a9e358718432b8697f451 (diff) |
arm: remove machine_desc.io_pg_offst and .phys_io
Since we're now using addruart to establish the debug mapping, we can
remove the io_pg_offst and phys_io members of struct machine_desc.
The various declarations were removed using the following script:
grep -rl MACHINE_START arch/arm | xargs \
sed -i '/MACHINE_START/,/MACHINE_END/ { /\.\(phys_io\|io_pg_offst\)/d }'
[ Initial patch was from Jeremy Kerr, example script from Russell King ]
Signed-off-by: Nicolas Pitre <nicolas.pitre@linaro.org>
Acked-by: Eric Miao <eric.miao at canonical.com>
Diffstat (limited to 'arch/arm/mach-davinci')
-rw-r--r-- | arch/arm/mach-davinci/board-da830-evm.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-davinci/board-da850-evm.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-davinci/board-dm355-evm.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-davinci/board-dm355-leopard.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-davinci/board-dm365-evm.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-davinci/board-dm644x-evm.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-davinci/board-dm646x-evm.c | 4 | ||||
-rw-r--r-- | arch/arm/mach-davinci/board-neuros-osd2.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-davinci/board-sffsdr.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-davinci/board-tnetv107x-evm.c | 2 |
10 files changed, 0 insertions, 22 deletions
diff --git a/arch/arm/mach-davinci/board-da830-evm.c b/arch/arm/mach-davinci/board-da830-evm.c index c3994f341e49..7f3cdbfc0fbb 100644 --- a/arch/arm/mach-davinci/board-da830-evm.c +++ b/arch/arm/mach-davinci/board-da830-evm.c | |||
@@ -597,8 +597,6 @@ static void __init da830_evm_map_io(void) | |||
597 | } | 597 | } |
598 | 598 | ||
599 | MACHINE_START(DAVINCI_DA830_EVM, "DaVinci DA830/OMAP-L137 EVM") | 599 | MACHINE_START(DAVINCI_DA830_EVM, "DaVinci DA830/OMAP-L137 EVM") |
600 | .phys_io = IO_PHYS, | ||
601 | .io_pg_offst = (__IO_ADDRESS(IO_PHYS) >> 18) & 0xfffc, | ||
602 | .boot_params = (DA8XX_DDR_BASE + 0x100), | 600 | .boot_params = (DA8XX_DDR_BASE + 0x100), |
603 | .map_io = da830_evm_map_io, | 601 | .map_io = da830_evm_map_io, |
604 | .init_irq = cp_intc_init, | 602 | .init_irq = cp_intc_init, |
diff --git a/arch/arm/mach-davinci/board-da850-evm.c b/arch/arm/mach-davinci/board-da850-evm.c index fdc2cc500fc6..b26f5cbfce3e 100644 --- a/arch/arm/mach-davinci/board-da850-evm.c +++ b/arch/arm/mach-davinci/board-da850-evm.c | |||
@@ -817,8 +817,6 @@ static void __init da850_evm_map_io(void) | |||
817 | } | 817 | } |
818 | 818 | ||
819 | MACHINE_START(DAVINCI_DA850_EVM, "DaVinci DA850/OMAP-L138 EVM") | 819 | MACHINE_START(DAVINCI_DA850_EVM, "DaVinci DA850/OMAP-L138 EVM") |
820 | .phys_io = IO_PHYS, | ||
821 | .io_pg_offst = (__IO_ADDRESS(IO_PHYS) >> 18) & 0xfffc, | ||
822 | .boot_params = (DA8XX_DDR_BASE + 0x100), | 820 | .boot_params = (DA8XX_DDR_BASE + 0x100), |
823 | .map_io = da850_evm_map_io, | 821 | .map_io = da850_evm_map_io, |
824 | .init_irq = cp_intc_init, | 822 | .init_irq = cp_intc_init, |
diff --git a/arch/arm/mach-davinci/board-dm355-evm.c b/arch/arm/mach-davinci/board-dm355-evm.c index a3191015efee..6e7cad13352c 100644 --- a/arch/arm/mach-davinci/board-dm355-evm.c +++ b/arch/arm/mach-davinci/board-dm355-evm.c | |||
@@ -351,8 +351,6 @@ static __init void dm355_evm_init(void) | |||
351 | } | 351 | } |
352 | 352 | ||
353 | MACHINE_START(DAVINCI_DM355_EVM, "DaVinci DM355 EVM") | 353 | MACHINE_START(DAVINCI_DM355_EVM, "DaVinci DM355 EVM") |
354 | .phys_io = IO_PHYS, | ||
355 | .io_pg_offst = (__IO_ADDRESS(IO_PHYS) >> 18) & 0xfffc, | ||
356 | .boot_params = (0x80000100), | 354 | .boot_params = (0x80000100), |
357 | .map_io = dm355_evm_map_io, | 355 | .map_io = dm355_evm_map_io, |
358 | .init_irq = davinci_irq_init, | 356 | .init_irq = davinci_irq_init, |
diff --git a/arch/arm/mach-davinci/board-dm355-leopard.c b/arch/arm/mach-davinci/board-dm355-leopard.c index f1d8132cf0c3..543f9911b281 100644 --- a/arch/arm/mach-davinci/board-dm355-leopard.c +++ b/arch/arm/mach-davinci/board-dm355-leopard.c | |||
@@ -270,8 +270,6 @@ static __init void dm355_leopard_init(void) | |||
270 | } | 270 | } |
271 | 271 | ||
272 | MACHINE_START(DM355_LEOPARD, "DaVinci DM355 leopard") | 272 | MACHINE_START(DM355_LEOPARD, "DaVinci DM355 leopard") |
273 | .phys_io = IO_PHYS, | ||
274 | .io_pg_offst = (__IO_ADDRESS(IO_PHYS) >> 18) & 0xfffc, | ||
275 | .boot_params = (0x80000100), | 273 | .boot_params = (0x80000100), |
276 | .map_io = dm355_leopard_map_io, | 274 | .map_io = dm355_leopard_map_io, |
277 | .init_irq = davinci_irq_init, | 275 | .init_irq = davinci_irq_init, |
diff --git a/arch/arm/mach-davinci/board-dm365-evm.c b/arch/arm/mach-davinci/board-dm365-evm.c index 84acef1d0b3d..944a0cbaf5cb 100644 --- a/arch/arm/mach-davinci/board-dm365-evm.c +++ b/arch/arm/mach-davinci/board-dm365-evm.c | |||
@@ -613,8 +613,6 @@ static __init void dm365_evm_init(void) | |||
613 | } | 613 | } |
614 | 614 | ||
615 | MACHINE_START(DAVINCI_DM365_EVM, "DaVinci DM365 EVM") | 615 | MACHINE_START(DAVINCI_DM365_EVM, "DaVinci DM365 EVM") |
616 | .phys_io = IO_PHYS, | ||
617 | .io_pg_offst = (__IO_ADDRESS(IO_PHYS) >> 18) & 0xfffc, | ||
618 | .boot_params = (0x80000100), | 616 | .boot_params = (0x80000100), |
619 | .map_io = dm365_evm_map_io, | 617 | .map_io = dm365_evm_map_io, |
620 | .init_irq = davinci_irq_init, | 618 | .init_irq = davinci_irq_init, |
diff --git a/arch/arm/mach-davinci/board-dm644x-evm.c b/arch/arm/mach-davinci/board-dm644x-evm.c index 34c8b418cd72..d59fba15ba8d 100644 --- a/arch/arm/mach-davinci/board-dm644x-evm.c +++ b/arch/arm/mach-davinci/board-dm644x-evm.c | |||
@@ -706,8 +706,6 @@ static __init void davinci_evm_init(void) | |||
706 | 706 | ||
707 | MACHINE_START(DAVINCI_EVM, "DaVinci DM644x EVM") | 707 | MACHINE_START(DAVINCI_EVM, "DaVinci DM644x EVM") |
708 | /* Maintainer: MontaVista Software <source@mvista.com> */ | 708 | /* Maintainer: MontaVista Software <source@mvista.com> */ |
709 | .phys_io = IO_PHYS, | ||
710 | .io_pg_offst = (__IO_ADDRESS(IO_PHYS) >> 18) & 0xfffc, | ||
711 | .boot_params = (DAVINCI_DDR_BASE + 0x100), | 709 | .boot_params = (DAVINCI_DDR_BASE + 0x100), |
712 | .map_io = davinci_evm_map_io, | 710 | .map_io = davinci_evm_map_io, |
713 | .init_irq = davinci_irq_init, | 711 | .init_irq = davinci_irq_init, |
diff --git a/arch/arm/mach-davinci/board-dm646x-evm.c b/arch/arm/mach-davinci/board-dm646x-evm.c index 4502f346b2b0..6890488fb92b 100644 --- a/arch/arm/mach-davinci/board-dm646x-evm.c +++ b/arch/arm/mach-davinci/board-dm646x-evm.c | |||
@@ -786,8 +786,6 @@ void __init dm646x_board_setup_refclk(struct clk *clk) | |||
786 | } | 786 | } |
787 | 787 | ||
788 | MACHINE_START(DAVINCI_DM6467_EVM, "DaVinci DM646x EVM") | 788 | MACHINE_START(DAVINCI_DM6467_EVM, "DaVinci DM646x EVM") |
789 | .phys_io = IO_PHYS, | ||
790 | .io_pg_offst = (__IO_ADDRESS(IO_PHYS) >> 18) & 0xfffc, | ||
791 | .boot_params = (0x80000100), | 789 | .boot_params = (0x80000100), |
792 | .map_io = davinci_map_io, | 790 | .map_io = davinci_map_io, |
793 | .init_irq = davinci_irq_init, | 791 | .init_irq = davinci_irq_init, |
@@ -796,8 +794,6 @@ MACHINE_START(DAVINCI_DM6467_EVM, "DaVinci DM646x EVM") | |||
796 | MACHINE_END | 794 | MACHINE_END |
797 | 795 | ||
798 | MACHINE_START(DAVINCI_DM6467TEVM, "DaVinci DM6467T EVM") | 796 | MACHINE_START(DAVINCI_DM6467TEVM, "DaVinci DM6467T EVM") |
799 | .phys_io = IO_PHYS, | ||
800 | .io_pg_offst = (__IO_ADDRESS(IO_PHYS) >> 18) & 0xfffc, | ||
801 | .boot_params = (0x80000100), | 797 | .boot_params = (0x80000100), |
802 | .map_io = davinci_map_io, | 798 | .map_io = davinci_map_io, |
803 | .init_irq = davinci_irq_init, | 799 | .init_irq = davinci_irq_init, |
diff --git a/arch/arm/mach-davinci/board-neuros-osd2.c b/arch/arm/mach-davinci/board-neuros-osd2.c index 4c30e929bbf9..a4def889275c 100644 --- a/arch/arm/mach-davinci/board-neuros-osd2.c +++ b/arch/arm/mach-davinci/board-neuros-osd2.c | |||
@@ -275,8 +275,6 @@ static __init void davinci_ntosd2_init(void) | |||
275 | 275 | ||
276 | MACHINE_START(NEUROS_OSD2, "Neuros OSD2") | 276 | MACHINE_START(NEUROS_OSD2, "Neuros OSD2") |
277 | /* Maintainer: Neuros Technologies <neuros@groups.google.com> */ | 277 | /* Maintainer: Neuros Technologies <neuros@groups.google.com> */ |
278 | .phys_io = IO_PHYS, | ||
279 | .io_pg_offst = (__IO_ADDRESS(IO_PHYS) >> 18) & 0xfffc, | ||
280 | .boot_params = (DAVINCI_DDR_BASE + 0x100), | 278 | .boot_params = (DAVINCI_DDR_BASE + 0x100), |
281 | .map_io = davinci_ntosd2_map_io, | 279 | .map_io = davinci_ntosd2_map_io, |
282 | .init_irq = davinci_irq_init, | 280 | .init_irq = davinci_irq_init, |
diff --git a/arch/arm/mach-davinci/board-sffsdr.c b/arch/arm/mach-davinci/board-sffsdr.c index 23e664a1a802..9bdf8aafcc84 100644 --- a/arch/arm/mach-davinci/board-sffsdr.c +++ b/arch/arm/mach-davinci/board-sffsdr.c | |||
@@ -154,8 +154,6 @@ static __init void davinci_sffsdr_init(void) | |||
154 | 154 | ||
155 | MACHINE_START(SFFSDR, "Lyrtech SFFSDR") | 155 | MACHINE_START(SFFSDR, "Lyrtech SFFSDR") |
156 | /* Maintainer: Hugo Villeneuve hugo.villeneuve@lyrtech.com */ | 156 | /* Maintainer: Hugo Villeneuve hugo.villeneuve@lyrtech.com */ |
157 | .phys_io = IO_PHYS, | ||
158 | .io_pg_offst = (__IO_ADDRESS(IO_PHYS) >> 18) & 0xfffc, | ||
159 | .boot_params = (DAVINCI_DDR_BASE + 0x100), | 157 | .boot_params = (DAVINCI_DDR_BASE + 0x100), |
160 | .map_io = davinci_sffsdr_map_io, | 158 | .map_io = davinci_sffsdr_map_io, |
161 | .init_irq = davinci_irq_init, | 159 | .init_irq = davinci_irq_init, |
diff --git a/arch/arm/mach-davinci/board-tnetv107x-evm.c b/arch/arm/mach-davinci/board-tnetv107x-evm.c index fe2a9d9c8bb7..b4de35b78904 100644 --- a/arch/arm/mach-davinci/board-tnetv107x-evm.c +++ b/arch/arm/mach-davinci/board-tnetv107x-evm.c | |||
@@ -164,8 +164,6 @@ console_initcall(tnetv107x_evm_console_init); | |||
164 | #endif | 164 | #endif |
165 | 165 | ||
166 | MACHINE_START(TNETV107X, "TNETV107X EVM") | 166 | MACHINE_START(TNETV107X, "TNETV107X EVM") |
167 | .phys_io = TNETV107X_IO_BASE, | ||
168 | .io_pg_offst = (TNETV107X_IO_VIRT >> 18) & 0xfffc, | ||
169 | .boot_params = (TNETV107X_DDR_BASE + 0x100), | 167 | .boot_params = (TNETV107X_DDR_BASE + 0x100), |
170 | .map_io = tnetv107x_init, | 168 | .map_io = tnetv107x_init, |
171 | .init_irq = cp_intc_init, | 169 | .init_irq = cp_intc_init, |