From: Wolfgang Denk <wd@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 1/3] mx31: add GPIO registers definitions
Date: Mon, 02 Feb 2009 21:11:32 +0100 [thread overview]
Message-ID: <20090202201132.A630B8322908@gemini.denx.de> (raw)
In-Reply-To: <1233589490-14293-2-git-send-email-yanok@emcraft.com>
Dear Ilya Yanok,
In message <1233589490-14293-2-git-send-email-yanok@emcraft.com> you wrote:
> Added definitions for i.MX31 processor GPIO registers.
>
> Signed-off-by: Ilya Yanok <yanok@emcraft.com>
> ---
> include/asm-arm/arch-mx31/mx31-regs.h | 10 ++++++++++
> 1 files changed, 10 insertions(+), 0 deletions(-)
>
> diff --git a/include/asm-arm/arch-mx31/mx31-regs.h b/include/asm-arm/arch-mx31/mx31-regs.h
> index b04a718..939bdd3 100644
> --- a/include/asm-arm/arch-mx31/mx31-regs.h
> +++ b/include/asm-arm/arch-mx31/mx31-regs.h
> @@ -87,6 +87,16 @@
> #define WDOG_BASE 0x53FDC000
>
> /*
> + * GPIO
> + */
> +#define GPIO1_BASE (0x53FCC000)
> +#define GPIO2_BASE (0x53FD0000)
> +#define GPIO3_BASE (0x53FA4000)
> +#define GPIO_DR (0x00000000)
> +#define GPIO_GDIR (0x00000004)
> +#define GPIO_PSR (0x00000008)
No need for parens around simple constants.
But please add a few comments what all these mean/
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Every revolutionary idea - in science, politics, art, or whatever -
evokes three stages of reaction in a hearer:
1. It is completely impossible - don't waste my time.
2. It is possible, but it is not worth doing.
3. I said it was a good idea all along.
next prev parent reply other threads:[~2009-02-02 20:11 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-02-02 15:44 [U-Boot] [PATCH 0/3] qong: support for Dave/DENX QongEVB-LITE Ilya Yanok
2009-02-02 15:44 ` [U-Boot] [PATCH 1/3] mx31: add GPIO registers definitions Ilya Yanok
2009-02-02 20:11 ` Wolfgang Denk [this message]
2009-02-02 15:44 ` [U-Boot] [PATCH 2/3] dnet: driver for Dave DNET ethernet controller Ilya Yanok
2009-02-02 17:31 ` Ben Warren
2009-02-02 17:36 ` Ilya Yanok
2009-02-02 20:21 ` Wolfgang Denk
2009-02-05 3:38 ` Ilya Yanok
2009-02-05 21:32 ` Wolfgang Denk
2009-02-11 19:40 ` Ilya Yanok
2009-02-02 15:44 ` [U-Boot] [PATCH 3/3] qong: support for Dave/DENX QongEVB-LITE board Ilya Yanok
2009-02-02 20:43 ` Wolfgang Denk
2009-02-05 3:43 ` Ilya Yanok
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=20090202201132.A630B8322908@gemini.denx.de \
--to=wd@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