commit | 2943605af165b60f4a5e158b86b525127c487f04 | [log] [tgz] |
---|---|---|
author | davidcunado-arm <david.cunado@arm.com> | Tue Apr 25 17:57:26 2017 +0100 |
committer | GitHub <noreply@github.com> | Tue Apr 25 17:57:26 2017 +0100 |
tree | 01b43c559aad697ba4594ca8da8ea514102a93f3 | |
parent | c925f40c45f257ff5587d0151ef10bca80b81bed [diff] | |
parent | 242a7b77200b8d8aa6bf3884c219670c41537fb3 [diff] |
Merge pull request #914 from afaerber/align-hex fiptool: Support non-decimal --align arguments
diff --git a/tools/fiptool/fiptool.c b/tools/fiptool/fiptool.c index 542a946..0503696 100644 --- a/tools/fiptool/fiptool.c +++ b/tools/fiptool/fiptool.c
@@ -646,7 +646,7 @@ unsigned long align; errno = 0; - align = strtoul(arg, &endptr, 10); + align = strtoul(arg, &endptr, 0); if (*endptr != '\0' || !is_power_of_2(align) || errno != 0) log_errx("Invalid alignment: %s", arg);