public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] Unaligned data transfers?
@ 2010-06-04 12:37 Tor Krill
  2010-06-04 15:44 ` Wolfgang Denk
  0 siblings, 1 reply; 2+ messages in thread
From: Tor Krill @ 2010-06-04 12:37 UTC (permalink / raw)
  To: u-boot

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-06-04 15:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-06-04 12:37 [U-Boot] Unaligned data transfers? Tor Krill
2010-06-04 15:44 ` Wolfgang Denk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox