Sergei Shtylyov <[email protected]> writes: > Hello. > > [email protected] wrote: > >> From: Thomas Koeller <[email protected]> > >> The register base address for the second serial port (UART1) was >> wrong. > >> Signed-off-by: Thomas Koeller <[email protected]> > [...] >> diff --git a/arch/arm/mach-davinci/dm365.c b/arch/arm/mach-davinci/dm365.c >> index a146849..652f4b6 100644 >> --- a/arch/arm/mach-davinci/dm365.c >> +++ b/arch/arm/mach-davinci/dm365.c >> @@ -1020,6 +1020,8 @@ static struct davinci_timer_info dm365_timer_info = { >> .clocksource_id = T0_TOP, >> }; >> +#define DM365_UART1_BASE (IO_PHYS + 0x106000) >> + > > Why not declare it in serial.h then?
We've been doing this inconsistently. For dm355, the SoC specific one is done in dm355.c, for da8xx and tnetv, they're done in serial.h. I guess I prefer to have the SoC specific ones in SoC specific files, so I'll merge this patch as is. Thanks, Kevin _______________________________________________ Davinci-linux-open-source mailing list [email protected] http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
