]> git.sur5r.net Git - openocd/commit
target: fix init_targets script handling
authorSpencer Oliver <spen@spen-soft.co.uk>
Wed, 23 Nov 2011 23:39:57 +0000 (23:39 +0000)
committerPeter Stuge <peter@stuge.se>
Wed, 23 Nov 2011 23:51:36 +0000 (23:51 +0000)
commitb46231669928bf4edb48c50b327cb68b0d01a27e
treeb47d50c5ff868cfce2eb0201e0343af90c9c4e0e
parent17322b729c9af2d1837fc1407f8ac9fc4b9483f5
target: fix init_targets script handling

This fixes an issue when init is called before init_targets has been
executed.

Make sure init_targets is called before init.

Change-Id: Icd5bd4c2a8eea2e399d9de4e331a77560e9672ac
Signed-off-by: Spencer Oliver <spen@spen-soft.co.uk>
Reviewed-on: http://openocd.zylin.com/235
Tested-by: jenkins
Reviewed-by: Peter Stuge <peter@stuge.se>
src/openocd.c
src/target/target.c