diff options
author | Andreas Fritiofson <andreas.fritiofson@gmail.com> | 2013-09-28 21:43:37 +0200 |
---|---|---|
committer | Spencer Oliver <spen@spen-soft.co.uk> | 2013-10-31 20:43:27 +0000 |
commit | ba2fbe22470915359e1905aaad4c613eacbdf6dc (patch) | |
tree | 701c642d7bd3badb2b97b971cce811c4140e778b /src/flash/nor/stellaris.c | |
parent | 704082443d03cdeba9c89a8f70d1f1017330d903 (diff) |
Remove unnecessary casts
Change-Id: Ia97283707282ccccdc707c969f59337313b4e291
Signed-off-by: Andreas Fritiofson <andreas.fritiofson@gmail.com>
Reviewed-on: http://openocd.zylin.com/1767
Tested-by: jenkins
Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
Diffstat (limited to 'src/flash/nor/stellaris.c')
-rw-r--r-- | src/flash/nor/stellaris.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/flash/nor/stellaris.c b/src/flash/nor/stellaris.c index 4e043222..71debdc7 100644 --- a/src/flash/nor/stellaris.c +++ b/src/flash/nor/stellaris.c @@ -1042,7 +1042,7 @@ static int stellaris_write_block(struct flash_bank *bank, target_write_buffer(target, write_algorithm->address, sizeof(stellaris_write_code), - (uint8_t *) stellaris_write_code); + stellaris_write_code); armv7m_info.common_magic = ARMV7M_COMMON_MAGIC; armv7m_info.core_mode = ARM_MODE_THREAD; |