flash: remove algorithm exit_point address for supported targets

For the above targets the exit_point is
optional when used with run_algorithm, so remove it.

This makes updating the algorithm less error prone.

Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
This commit is contained in:
Spencer Oliver
2010-07-19 20:33:04 +01:00
parent ee17d5c48e
commit 260eb4548b
4 changed files with 4 additions and 5 deletions

View File

@@ -884,8 +884,7 @@ static int stellaris_write_block(struct flash_bank *bank,
(unsigned) (wcount - thisrun_count));
retval = target_run_algorithm(target, 0, NULL, 3, reg_params,
write_algorithm->address,
write_algorithm->address +
sizeof(stellaris_write_code) - 10,
0,
10000, &armv7m_info);
if (retval != ERROR_OK)
{