diff options
author | Manjunathappa, Prakash <prakash.pm@ti.com> | 2013-06-19 05:15:42 -0400 |
---|---|---|
committer | Sekhar Nori <nsekhar@ti.com> | 2013-08-21 15:08:59 -0400 |
commit | fcf7157ba3b50e57653544421250ebbe81a33d81 (patch) | |
tree | d8731d13323db2c82a6d24eb6f6ea71d30780693 /arch/arm/mach-davinci/board-dm355-evm.c | |
parent | 1ae1c2f91d25d0ee175a2ee4bc8b5c45012e05c1 (diff) |
ARM: davinci: serial: get rid of davinci_uart_config
"struct davinci_uart_config" was introduced to specify
UART ports brought out or enabled on the board. But
none of the boards use it for that purpose and we are
not going to add anymore board files, so remove the
structure.
Signed-off-by: Manjunathappa, Prakash <prakash.pm@ti.com>
Suggested-by: Sekhar Nori <nsekhar@ti.com>
[nsekhar@ti.com: split patch to remove davinci_serial_setup_clk()
changes.]
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
Diffstat (limited to 'arch/arm/mach-davinci/board-dm355-evm.c')
-rw-r--r-- | arch/arm/mach-davinci/board-dm355-evm.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/arch/arm/mach-davinci/board-dm355-evm.c b/arch/arm/mach-davinci/board-dm355-evm.c index c2a0a67d09e0..42b23a3194a0 100644 --- a/arch/arm/mach-davinci/board-dm355-evm.c +++ b/arch/arm/mach-davinci/board-dm355-evm.c | |||
@@ -314,10 +314,6 @@ static struct platform_device *davinci_evm_devices[] __initdata = { | |||
314 | &davinci_nand_device, | 314 | &davinci_nand_device, |
315 | }; | 315 | }; |
316 | 316 | ||
317 | static struct davinci_uart_config uart_config __initdata = { | ||
318 | .enabled_uarts = (1 << 0), | ||
319 | }; | ||
320 | |||
321 | static void __init dm355_evm_map_io(void) | 317 | static void __init dm355_evm_map_io(void) |
322 | { | 318 | { |
323 | dm355_init(); | 319 | dm355_init(); |
@@ -393,7 +389,7 @@ static __init void dm355_evm_init(void) | |||
393 | platform_add_devices(davinci_evm_devices, | 389 | platform_add_devices(davinci_evm_devices, |
394 | ARRAY_SIZE(davinci_evm_devices)); | 390 | ARRAY_SIZE(davinci_evm_devices)); |
395 | evm_init_i2c(); | 391 | evm_init_i2c(); |
396 | davinci_serial_init(&uart_config); | 392 | davinci_serial_init(dm355_serial_device); |
397 | 393 | ||
398 | /* NOTE: NAND flash timings set by the UBL are slower than | 394 | /* NOTE: NAND flash timings set by the UBL are slower than |
399 | * needed by MT29F16G08FAA chips ... EMIF.A1CR is 0x40400204 | 395 | * needed by MT29F16G08FAA chips ... EMIF.A1CR is 0x40400204 |