From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefano Babic Date: Sun, 19 Aug 2012 10:35:38 +0200 Subject: [U-Boot] [PATCH] MX: Set a common gpio.h for all i.MX In-Reply-To: <1610423122.2545097.1345335912530.JavaMail.root@advansee.com> References: <1610423122.2545097.1345335912530.JavaMail.root@advansee.com> Message-ID: <5030A55A.9000709@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 19/08/2012 02:25, Beno?t Th?baudeau wrote: > Hi Stefano, > >>>> #define MXC_GPIO_PORT_TO_NUM(port, bit) (((port - 1) << 5) + (bit >>>> & >>>> 0x1f)) >>> >>> Keeping this is also useless. GPIO_NUMBER() from the new >>> >>> can be used instead everywhere needed. >> >> That is right - I drop it. > > I don't know if you are aware of it, but just to let you know, I've seen the > following patch that will interfere: > http://patchwork.ozlabs.org/patch/165311/ > http://git.denx.de/?p=u-boot/u-boot-staging.git;a=commitdiff;h=72739219a12bf02820d29a89cb2b7fdc4d0e840f Thanks, I cherry-pick it and I rebase on it. Best regards, Stefano -- ===================================================================== DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de =====================================================================