init_targets procedure

Can someone explain the init_targets procedure and why it is only used in the lpc2000 configurations?

This procedure appears to be called automatically when running a script that contains it, but it is not called when doing a reset.