forked from auracaster/openocd
target: Retire target_bulk_write_memory()
The only caller was arm_nandwrite(). Replace that call with target_write_buffer() instead, which in turn may end up calling the same bulk_write_memory target API function. Change-Id: If34c7474df5cf14af3b732fb4774816818f28e79 Signed-off-by: Andreas Fritiofson <andreas.fritiofson@gmail.com> Reviewed-on: http://openocd.zylin.com/1214 Tested-by: jenkins Reviewed-by: Øyvind Harboe <oyvindharboe@gmail.com> Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
This commit is contained in:
committed by
Spencer Oliver
parent
4315142ea0
commit
a7e3418258
@@ -970,12 +970,6 @@ int target_write_phys_memory(struct target *target,
|
||||
return target->type->write_phys_memory(target, address, size, count, buffer);
|
||||
}
|
||||
|
||||
int target_bulk_write_memory(struct target *target,
|
||||
uint32_t address, uint32_t count, const uint8_t *buffer)
|
||||
{
|
||||
return target->type->bulk_write_memory(target, address, count, buffer);
|
||||
}
|
||||
|
||||
static int target_bulk_write_memory_default(struct target *target,
|
||||
uint32_t address, uint32_t count, const uint8_t *buffer)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user