public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: stefano babic <sbabic@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] MX: Set a common gpio.h for all i.MX
Date: Sun, 19 Aug 2012 09:46:45 +0200	[thread overview]
Message-ID: <503099E5.5090109@denx.de> (raw)
In-Reply-To: <CAOMZO5DXGPzT3+oYe9bqnhQJP_OsnowL7Vgp=rZafZgFNayRUw@mail.gmail.com>

Am 19/08/2012 00:59, schrieb Fabio Estevam:
> Hi Stefano,
> 
> On Sat, Aug 18, 2012 at 12:26 PM, Stefano Babic <sbabic@denx.de> wrote:
> 
>> +#define GPIO_NUMBER(port, index)               ((((port)-1)*32)+((index)&31))
> 
> What about calling this macro IMX_GPIO_NR instead?
> 
> This way we can have the same macro name in U-boot and in the kernel.

Right, agree, fix in V2.

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-0 Fax: +49-8142-66989-80  Email: office at denx.de
=====================================================================

  parent reply	other threads:[~2012-08-19  7:46 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-18 15:26 [U-Boot] [PATCH] MX: Set a common gpio.h for all i.MX Stefano Babic
2012-08-18 19:25 ` Benoît Thébaudeau
2012-08-18 20:55   ` Matt Sealey
2012-08-18 22:01     ` Marek Vasut
2012-08-18 22:13   ` stefano babic
2012-08-19  0:25     ` Benoît Thébaudeau
2012-08-19  8:35       ` Stefano Babic
2012-08-18 22:59 ` Fabio Estevam
2012-08-18 23:01   ` Marek Vasut
2012-08-19  7:46   ` stefano babic [this message]
2012-08-19  8:40 ` [U-Boot] [PATCH v2] " Stefano Babic
2012-08-19  9:11 ` [U-Boot] [PATCH v3] " Stefano Babic
2012-08-19 13:30   ` Benoît Thébaudeau
2012-08-19 16:41     ` stefano babic
2012-08-20  7:33 ` [U-Boot] [PATCH v4] " Stefano Babic
2012-08-20 20:33   ` Benoît Thébaudeau
2012-08-20 21:20   ` Matt Sealey
2012-08-21  6:12     ` Stefano Babic

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=503099E5.5090109@denx.de \
    --to=sbabic@denx.de \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox