public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Tor Krill <tor@excito.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] Unaligned data transfers?
Date: Fri, 04 Jun 2010 14:37:39 +0200	[thread overview]
Message-ID: <1275655059.2450.78.camel@tor-desktop> (raw)

Hi, 

I have a question regarding (disk) transfers. For example Sata read and
write takes an unspecified address which very well could be an unaligned
byte address.

Many DMA-controllers though require 16 or 32bit alignments for
transfers.

Is it safe to assume that the address is correct or bail out with an
error message if source/destinaton address isn't correctly aligned for
the underlaying HW?

/Tor

             reply	other threads:[~2010-06-04 12:37 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-06-04 12:37 Tor Krill [this message]
2010-06-04 15:44 ` [U-Boot] Unaligned data transfers? Wolfgang Denk

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=1275655059.2450.78.camel@tor-desktop \
    --to=tor@excito.com \
    --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