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>
This commit is contained in:

committed by
Nicolas Pitre

parent
c293393faa
commit
6451d7783b
@@ -64,8 +64,6 @@ static void __init msm7x30_map_io(void)
|
||||
|
||||
MACHINE_START(MSM7X30_SURF, "QCT MSM7X30 SURF")
|
||||
#ifdef CONFIG_MSM_DEBUG_UART
|
||||
.phys_io = MSM_DEBUG_UART_PHYS,
|
||||
.io_pg_offst = ((MSM_DEBUG_UART_BASE) >> 18) & 0xfffc,
|
||||
#endif
|
||||
.boot_params = PHYS_OFFSET + 0x100,
|
||||
.map_io = msm7x30_map_io,
|
||||
@@ -76,8 +74,6 @@ MACHINE_END
|
||||
|
||||
MACHINE_START(MSM7X30_FFA, "QCT MSM7X30 FFA")
|
||||
#ifdef CONFIG_MSM_DEBUG_UART
|
||||
.phys_io = MSM_DEBUG_UART_PHYS,
|
||||
.io_pg_offst = ((MSM_DEBUG_UART_BASE) >> 18) & 0xfffc,
|
||||
#endif
|
||||
.boot_params = PHYS_OFFSET + 0x100,
|
||||
.map_io = msm7x30_map_io,
|
||||
@@ -88,8 +84,6 @@ MACHINE_END
|
||||
|
||||
MACHINE_START(MSM7X30_FLUID, "QCT MSM7X30 FLUID")
|
||||
#ifdef CONFIG_MSM_DEBUG_UART
|
||||
.phys_io = MSM_DEBUG_UART_PHYS,
|
||||
.io_pg_offst = ((MSM_DEBUG_UART_BASE) >> 18) & 0xfffc,
|
||||
#endif
|
||||
.boot_params = PHYS_OFFSET + 0x100,
|
||||
.map_io = msm7x30_map_io,
|
||||
|
Reference in New Issue
Block a user