[U-Boot] Unaligned data transfers?

Tor Krill tor at excito.com
Fri Jun 4 14:37:39 CEST 2010


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



More information about the U-Boot mailing list