diff options
author | Alejandro Mery <amery@geeks.cl> | 2012-07-23 19:06:41 +0400 |
---|---|---|
committer | Alejandro Mery <amery@geeks.cl> | 2012-07-23 19:07:28 +0400 |
commit | dbc4515eedc036a36a3efaecae376cbaecf43454 (patch) | |
tree | af6cac6cc7be8ec398d34cfe389f217cb2467d9a /script_bin.c | |
parent | 815691218af8021f411eb616c073b34a8e65eab6 (diff) |
fexc: add port:power support
Diffstat (limited to 'script_bin.c')
-rw-r--r-- | script_bin.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/script_bin.c b/script_bin.c index 30d4616..752f519 100644 --- a/script_bin.c +++ b/script_bin.c @@ -253,8 +253,10 @@ static int decompile_section(void *bin, size_t UNUSED(bin_size), if (words != 6) { pr_err("%s: %s.%s: invalid length %d (assuming %d)\n", filename, section->name, entry->name, words, 6); + } else if (gpio->port == 0xffff) { + ; /* port:power */ } else if (gpio->port < 1 || gpio->port > 10) { - pr_err("%s: %s.%s: unknown GPIO port type %d\n", + pr_err("%s: %s.%s: unknown GPIO port type %u\n", filename, section->name, entry->name, gpio->port); goto failure; } |