From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mho-01-ewr.mailhop.org ([204.13.248.71]:49726 "EHLO mho-01-ewr.mailhop.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758335Ab0JHUgr (ORCPT ); Fri, 8 Oct 2010 16:36:47 -0400 Date: Fri, 8 Oct 2010 13:36:40 -0700 From: Tony Lindgren Subject: Re: [PATCH] serial: DCC(JTAG) serial and console emulation support Message-ID: <20101008203640.GO7558@atomide.com> References: <1286305668-19987-1-git-send-email-dwalker@codeaurora.org> <20101007212707.GI7558@atomide.com> <1286488713.23836.112.camel@c-dwalke-linux.qualcomm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1286488713.23836.112.camel@c-dwalke-linux.qualcomm.com> Sender: linux-arm-msm-owner@vger.kernel.org List-ID: To: Daniel Walker Cc: linux-arm-kernel@lists.infradead.org, linux-arm-msm@vger.kernel.org, "Hyok S. Choi" , Jeff Ohlstein * Daniel Walker [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