target: use target_buffer_set_u32_array
authorSpencer Oliver <spen@spen-soft.co.uk>
Thu, 24 Oct 2013 22:26:51 +0000 (23:26 +0100)
committerSpencer Oliver <spen@spen-soft.co.uk>
Thu, 7 Nov 2013 21:38:49 +0000 (21:38 +0000)
commitedfb677d3466a0d88fe9bd5ec1d8785a41b6bc4e
treeca2c571b896e0e8806fce283ac4816035417a17b
parent2ad2554e522c610af85e6ea2385eb824c3a89104
target: use target_buffer_set_u32_array

Attempt to use target_buffer_set_u32_array to convert to target endian
arrays rather reimplementing code.

This also removed cfi_fix_code_endian as its functionality is also
repeated.

Change-Id: I7c359dbe46ea791cd5f6fb18d8b0fb6895c599d3
Signed-off-by: Spencer Oliver <spen@spen-soft.co.uk>
Reviewed-on: http://openocd.zylin.com/1783
Reviewed-by: Andreas Fritiofson <andreas.fritiofson@gmail.com>
src/flash/nand/arm_io.c
src/flash/nor/cfi.c
src/target/arm7_9_common.c
src/target/feroceon.c