[email protected] writes:
> From: Thomas Koeller <[email protected]>
>
> The register base address for the second serial port (UART1) was
> wrong.
>
> Signed-off-by: Thomas Koeller <[email protected]>
> ---
> arch/arm/mach-davinci/dm365.c | 3 +++
> 1 files changed, 3 insertions(+), 0 deletions(-)
>
> diff --git a/arch/arm/mach-davinci/dm365.c b/arch/arm/mach-davinci/dm365.c
> index a146849..2a4e614 100644
> --- a/arch/arm/mach-davinci/dm365.c
> +++ b/arch/arm/mach-davinci/dm365.c
> @@ -1020,6 +1020,9 @@ static struct davinci_timer_info dm365_timer_info = {
> .clocksource_id = T0_TOP,
> };
>
> +#undef DAVINCI_UART1_BASE /* Value in serial.h is wrong for DM365 */
> +#define DAVINCI_UART1_BASE (IO_PHYS + 0x106000)
Rather than the #undef and re-#define, just call this DM365_UART1_BASE
and use that in the code.
Kevin
> static struct plat_serial8250_port dm365_serial_platform_data[] = {
> {
> .mapbase = DAVINCI_UART0_BASE,
> --
> 1.7.1
>
> _______________________________________________
> Davinci-linux-open-source mailing list
> [email protected]
> http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source