diff options
Diffstat (limited to 'utils/imxtools/sbtools')
-rw-r--r-- | utils/imxtools/sbtools/elftosb1.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/utils/imxtools/sbtools/elftosb1.c b/utils/imxtools/sbtools/elftosb1.c index 02e986e1cd..20d4b55386 100644 --- a/utils/imxtools/sbtools/elftosb1.c +++ b/utils/imxtools/sbtools/elftosb1.c | |||
@@ -382,6 +382,11 @@ CMD_FN(cmd_call) | |||
382 | return sb1_add_call(sb, args[0].uint, g_jump_arg); | 382 | return sb1_add_call(sb, args[0].uint, g_jump_arg); |
383 | } | 383 | } |
384 | 384 | ||
385 | CMD_FN(cmd_jump) | ||
386 | { | ||
387 | return sb1_add_jump(sb, args[0].uint, g_jump_arg); | ||
388 | } | ||
389 | |||
385 | CMD_FN(cmd_jumparg) | 390 | CMD_FN(cmd_jumparg) |
386 | { | 391 | { |
387 | (void) sb; | 392 | (void) sb; |
@@ -509,6 +514,7 @@ struct cmd_entry_t g_cmds[] = | |||
509 | CMD("-v", cmd_component, 1, ARG_STR) | 514 | CMD("-v", cmd_component, 1, ARG_STR) |
510 | CMD("-component", cmd_component, 1, ARG_STR) | 515 | CMD("-component", cmd_component, 1, ARG_STR) |
511 | CMD("-k", cmd_keyfile, 1, ARG_STR) | 516 | CMD("-k", cmd_keyfile, 1, ARG_STR) |
517 | CMD("-jump", cmd_jump, 1, ARG_UINT) | ||
512 | }; | 518 | }; |
513 | #undef CMD | 519 | #undef CMD |
514 | 520 | ||
@@ -572,6 +578,8 @@ static void usage(void) | |||
572 | printf(" -C/-noncritical\t\tClear critical flag\n"); | 578 | printf(" -C/-noncritical\t\tClear critical flag\n"); |
573 | printf(" -n/-strict\t\t\tSet strict flag\n"); | 579 | printf(" -n/-strict\t\t\tSet strict flag\n"); |
574 | printf(" -N/-nonstrict\t\t\tClear strict flag\n"); | 580 | printf(" -N/-nonstrict\t\t\tClear strict flag\n"); |
581 | printf(" -call <addr>\t\tCall an address\n"); | ||
582 | printf(" -jump <addr>\t\tJump to an address\n"); | ||
575 | 583 | ||
576 | exit(1); | 584 | exit(1); |
577 | } | 585 | } |