commit | 477fa6378fbd3e47a5e2e83d0dd3970d5b1c8371 | [log] [tgz] |
---|---|---|
author | Simon Kagstrom <simon.kagstrom@netinsight.net> | Thu Aug 20 10:14:11 2009 +0200 |
committer | Ben Warren <biggerbadderben@gmail.com> | Fri Aug 21 09:57:33 2009 -0700 |
tree | 58306a182f52aaa0de5a7990c283378d555e443d | |
parent | cad713bf7548b9e90433dac8270165402a6c9cc3 [diff] |
arm: kirkwood: See to it that sent data is 8-byte aligned U-boot might use non-8-byte-aligned addresses for sending data, which the kwgbe_send doesn't accept (bootp does this for me). This patch copies the data to be sent to a malloced temporary buffer if it is non-aligned. Signed-off-by: Simon Kagstrom <simon.kagstrom@netinsight.net> Signed-off-by: Ben Warren <biggerbadderben@gmail.com>