diff options
author | Spencer Oliver <ntfreak@users.sourceforge.net> | 2010-07-19 20:33:04 +0100 |
---|---|---|
committer | Spencer Oliver <ntfreak@users.sourceforge.net> | 2010-07-20 09:02:42 +0100 |
commit | 260eb4548b01da3ecd2cd146bb22a0f36df1a038 (patch) | |
tree | f261cdbd58be2eaed8eac554238c599967c98725 /src/flash/nor/stellaris.c | |
parent | ee17d5c48eaca42438663405ff6d090a391fc9e6 (diff) |
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>
Diffstat (limited to 'src/flash/nor/stellaris.c')
-rw-r--r-- | src/flash/nor/stellaris.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/flash/nor/stellaris.c b/src/flash/nor/stellaris.c index ff1c2e48..69e2f107 100644 --- a/src/flash/nor/stellaris.c +++ b/src/flash/nor/stellaris.c @@ -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) { |