artik053/openocd: reset the target on prepare_target()
artik053/openocd: reset the target on prepare_target()

prepare_target() fails sometimes when the target is in abnormal state
like data abort, and we need to push the reset button. In such cases,
it is not enough to give 'halt' command. 'reset halt' seems to be
appropriate.

Change-Id: I15e197a8e7232924cfeac8d064fb4f46a84d09cf
Signed-off-by: Heesub Shin <45471ea77bd08f3d26635f3f5adb40ba41250a2b@samsung.com>

JeonginKim/TizenRT,lokeshbv/TizenRT,jsdosa/TizenRT,pillip8282/TizenRT,btheosam/TizenRT,JeonginKim/TizenRT,davidfather/TizenRT,junmin-kim/TizenRT,jeongchanKim/TizenRT,davidfather/TizenRT,junmin-kim/TizenRT,jsdosa/TizenRT,jeongchanKim/TizenRT,chanijjani/TizenRT,an4967/TizenRT,jeongarmy/TizenRT,an4967/TizenRT,chanijjani/TizenRT,pillip8282/TizenRT,chanijjani/TizenRT,JeonginKim/TizenRT,jeongchanKim/TizenRT,HONGCHAEHEE/TizenRT,Parkjihooni6186/TizenRT,sunghan-chang/TizenRT,an4967/TizenRT,chanijjani/TizenRT,davidfather/TizenRT,jsdosa/TizenRT,JeongJunSik/TizenRT,Samsung/TizenRT,pillip8282/TizenRT,pillip8282/TizenRT,btheosam/TizenRT,davidfather/TizenRT,jsdosa/TizenRT,jeongchanKim/TizenRT,pillip8282/TizenRT,davidfather/TizenRT,Parkjihooni6186/TizenRT,jsdosa/TizenRT,jeongchanKim/TizenRT,JeonginKim/TizenRT,Samsung/TizenRT,Parkjihooni6186/TizenRT,junmin-kim/TizenRT,sunghan-chang/TizenRT,yashwanth686007/TizenRTOS,heejin-kim/TizenRT,jsdosa/TizenRT,sunghan-chang/TizenRT,shivgarg/TizenRT,yashwanth686007/TizenRTOS,JeongJunSik/TizenRT,junmin-kim/TizenRT,shivgarg/TizenRT,chanijjani/TizenRT,HONGCHAEHEE/TizenRT,Samsung/TizenRT,Parkjihooni6186/TizenRT,an4967/TizenRT,HONGCHAEHEE/TizenRT,junmin-kim/TizenRT,an4967/TizenRT,heejin-kim/TizenRT,btheosam/TizenRT,sunghan-chang/TizenRT,junmin-kim/TizenRT,Samsung/TizenRT,jsdosa/TizenRT,lokeshbv/TizenRT,shivgarg/TizenRT,shivgarg/TizenRT,jeongarmy/TizenRT,lokeshbv/TizenRT,jeongarmy/TizenRT,heejin-kim/TizenRT,btheosam/TizenRT,pillip8282/TizenRT,lokeshbv/TizenRT,yashwanth686007/TizenRTOS,heejin-kim/TizenRT,jeongchanKim/TizenRT,HONGCHAEHEE/TizenRT,heejin-kim/TizenRT,jeongchanKim/TizenRT,heejin-kim/TizenRT,Parkjihooni6186/TizenRT,HONGCHAEHEE/TizenRT,jeongarmy/TizenRT,btheosam/TizenRT,yashwanth686007/TizenRTOS,yashwanth686007/TizenRTOS,chanijjani/TizenRT,jeongarmy/TizenRT,an4967/TizenRT,JeongJunSik/TizenRT,shivgarg/TizenRT,JeonginKim/TizenRT,shivgarg/TizenRT,lokeshbv/TizenRT,yashwanth686007/TizenRTOS,JeonginKim/TizenRT,JeongJunSik/TizenRT,Parkjihooni6186/TizenRT,sunghan-chang/TizenRT,JeongJunSik/TizenRT,junmin-kim/TizenRT,jeongarmy/TizenRT,Samsung/TizenRT,jeongarmy/TizenRT,an4967/TizenRT,davidfather/TizenRT,sunghan-chang/TizenRT,btheosam/TizenRT,Samsung/TizenRT,Samsung/TizenRT,chanijjani/TizenRT,pillip8282/TizenRT,JeongJunSik/TizenRT,lokeshbv/TizenRT,sunghan-chang/TizenRT,davidfather/TizenRT,HONGCHAEHEE/TizenRT