]> git.sur5r.net Git - u-boot/commit
arm: kirkwood: See to it that sent data is 8-byte aligned
authorSimon Kagstrom <simon.kagstrom@netinsight.net>
Thu, 20 Aug 2009 08:14:11 +0000 (10:14 +0200)
committerBen Warren <biggerbadderben@gmail.com>
Fri, 21 Aug 2009 16:57:33 +0000 (09:57 -0700)
commit477fa6378fbd3e47a5e2e83d0dd3970d5b1c8371
tree58306a182f52aaa0de5a7990c283378d555e443d
parentcad713bf7548b9e90433dac8270165402a6c9cc3
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>
drivers/net/kirkwood_egiga.c
drivers/net/kirkwood_egiga.h