mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Alexander Shiyan <shc_work@mail.ru>
To: barebox@lists.infradead.org
Subject: [PATCH 1/3] i.MX51: Use register names for imx_gpio_base
Date: Tue,  3 Apr 2012 21:16:22 +0400	[thread overview]
Message-ID: <1333473384-6741-1-git-send-email-shc_work@mail.ru> (raw)


Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
---
 arch/arm/mach-imx/imx51.c |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/arch/arm/mach-imx/imx51.c b/arch/arm/mach-imx/imx51.c
index 40f4b1e..43cd45d 100644
--- a/arch/arm/mach-imx/imx51.c
+++ b/arch/arm/mach-imx/imx51.c
@@ -27,10 +27,10 @@
 #include "gpio.h"
 
 void *imx_gpio_base[] = {
-	(void *)0x73f84000,
-	(void *)0x73f88000,
-	(void *)0x73f8c000,
-	(void *)0x73f90000,
+	(void *)MX51_GPIO1_BASE_ADDR,
+	(void *)MX51_GPIO2_BASE_ADDR,
+	(void *)MX51_GPIO3_BASE_ADDR,
+	(void *)MX51_GPIO4_BASE_ADDR,
 };
 
 int imx_gpio_count = ARRAY_SIZE(imx_gpio_base) * 32;
-- 
1.7.3.4


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

             reply	other threads:[~2012-04-03 17:15 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-03 17:16 Alexander Shiyan [this message]
2012-04-03 17:16 ` [PATCH 2/3] i.MX51: Removed 1000 MHz pll definition Alexander Shiyan
2012-04-04  8:58   ` Sascha Hauer
2012-04-03 17:16 ` [PATCH 3/3] i.MX5x: Unused pll definitions removed Alexander Shiyan

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=1333473384-6741-1-git-send-email-shc_work@mail.ru \
    --to=shc_work@mail.ru \
    --cc=barebox@lists.infradead.org \
    /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