lpcspifi: Fix byte order bug
commitdc15e0a295f73d8438bf59b94475d9b9f4120b68
authorAndreas Fritiofson <andreas.fritiofson@gmail.com>
Thu, 31 Oct 2013 22:21:50 +0000 (31 23:21 +0100)
committerAndreas Fritiofson <andreas.fritiofson@gmail.com>
Tue, 5 Nov 2013 09:39:43 +0000 (5 09:39 +0000)
tree4fafb088edcc2aa665802ecc50a4d45e41dda182
parenta3c0f0546164874a50b2e8fb482403199ea2d358
lpcspifi: Fix byte order bug

Found by grepping for pointer casts.

Change-Id: I42ef3ebcce9fc6391154888b48601ede8377c34e
Signed-off-by: Andreas Fritiofson <andreas.fritiofson@gmail.com>
Reviewed-on: http://openocd.zylin.com/1771
Tested-by: jenkins
Reviewed-by: Jens Bauer <jens@gpio.dk>
Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
src/flash/nor/lpcspifi.c