Message ID | 100595c7fe767c0766358d59896d28f4a1239d82.1365760185.git.marvin24@gmx.de |
---|---|
State | Accepted, archived |
Headers | show |
On 04/12/2013 03:53 AM, Marc Dietrich wrote: > This moves an assert down if only "-h" and not SOC is given on the > command line. I have applied this. -- To unsubscribe from this list: send the line "unsubscribe linux-tegra" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
diff --git a/src/cbootimage.c b/src/cbootimage.c index fad4d6a..937bac9 100644 --- a/src/cbootimage.c +++ b/src/cbootimage.c @@ -154,11 +154,11 @@ main(int argc, char *argv[]) if (process_command_line(argc, argv, &context) != 0) return -EINVAL; - assert(g_soc_config != NULL); - if (help_only) return 1; + assert(g_soc_config != NULL); + g_soc_config->get_value(token_bct_size, &context.bct_size, context.bct);
This moves an assert down if only "-h" and not SOC is given on the command line. Signed-off-by: Marc Dietrich <marvin24@gmx.de> --- src/cbootimage.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)