[PATCH] serial: DCC(JTAG) serial and console emulation support

Tony Lindgren tony at atomide.com
Fri Oct 8 16:36:40 EDT 2010


* Daniel Walker <dwalker at codeaurora.org> [101007 14:50]:
> On Thu, 2010-10-07 at 14:27 -0700, Tony Lindgren wrote:
> 
> > Can you please pass the read and write functions to the driver
> > in platform_data? We are already booting kernels with both
> > ARMv6 and 7 compiled in.
> 
> What kind of situation did you want to use it in ? I was thinking about
> how arm could have these functions in a header file, that way we
> wouldn't duplicate in multiple places.

Well with ifdef else it's still either or for kernels that have
ARMv6 and 7 both compiled in. It's best to initialize those
functions dynamically.

Regards,

Tony



More information about the linux-arm-kernel mailing list