public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Jens Scharsig <esw@bus-elektronik.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [Patch 5/8 Part2/3] add at91 SoC access with c structures
Date: Fri, 15 Jan 2010 15:49:36 +0100	[thread overview]
Message-ID: <4B508080.2080207@bus-elektronik.de> (raw)
In-Reply-To: <hgjbla$agt$7@ger.gmane.org>

File at91_pio.h inserts following line:

> +#define AT91_PORTPIN(PORT, PIN)	((0x0##PORT - 10)*32+((PIN) & 0x1F))

this is wrong, sorry about this.

I will resend this patch as soon as posible.

In the meantime you can manually change the line to

#define AT91_PORTPIN(PORT, PIN)	((0x0##PORT - 9) * 32 + ((PIN) & 0x1F))


Best regards
Jens Scharsig

  reply	other threads:[~2010-01-15 14:49 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-12-19 20:09 [U-Boot] [Patch 5/8 Part2/3] add at91 SoC access with c structures Jens Scharsig
2010-01-15 14:49 ` Jens Scharsig [this message]
2010-01-15 19:47 ` [U-Boot] [Patch 5/8 Part2/3 V2] " Jens Scharsig
     [not found]   ` <4B51D8BB.7050506@windriver.com>
2010-01-16 17:18     ` Jens Scharsig
2010-01-16 19:23       ` Tom

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=4B508080.2080207@bus-elektronik.de \
    --to=esw@bus-elektronik.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