Some A33 evb boards have fex files with version = "100", even in the official
SDK. It seems that it's not a error at all. Now only a warning will be printed
in this situation.
---
 script_bin.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/script_bin.c b/script_bin.c
index ce13a2a..2e9f9cf 100644
--- a/script_bin.c
+++ b/script_bin.c
@@ -330,9 +330,8 @@ int script_decompile_bin(void *bin, size_t bin_size,
        if ((head->version[0] > SCRIPT_BIN_VERSION_LIMIT) ||
            (head->version[1] > SCRIPT_BIN_VERSION_LIMIT) ||
            (head->version[2] > SCRIPT_BIN_VERSION_LIMIT)) {
-               pr_err("Malformed data: version %d.%d.%d.\n",
+               pr_info("Possibly malformed data: version %d.%d.%d.\n",
                       head->version[0], head->version[1], head->version[2]);
-               return 0;
        }
 
        /* TODO: SANITY: compare head.sections with bin_size */
-- 
2.6.4

-- 
You received this message because you are subscribed to the Google Groups 
"linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to