ARM: OMAP2+: UART: Remove mapbase/membase fields from pdata.
The mapbase (start_address), membase(io_remap cookie) part of pdata struct omap_uart_port_info are removed as this should be derived within driver. Signed-off-by: Govindraj.R <govindraj.raja@ti.com> Acked-by: Greg Kroah-Hartman <gregkh@suse.de> (for drivers/tty changes) Signed-off-by: Kevin Hilman <khilman@ti.com>
This commit is contained in:

committed by
Kevin Hilman

parent
7496ba309f
commit
edd70ad757
@@ -605,8 +605,6 @@ void __init omap_serial_init_port(struct omap_board_data *bdata)
|
||||
|
||||
omap_up.dma_enabled = uart->dma_enabled;
|
||||
omap_up.uartclk = OMAP24XX_BASE_BAUD * 16;
|
||||
omap_up.mapbase = oh->slaves[0]->addr->pa_start;
|
||||
omap_up.membase = omap_hwmod_get_mpu_rt_va(oh);
|
||||
omap_up.flags = UPF_BOOT_AUTOCONF;
|
||||
|
||||
pdata = &omap_up;
|
||||
|
Reference in New Issue
Block a user