]> git.sur5r.net Git - u-boot/blobdiff - tools/ifdtool.c
exynos: Add common board code for exynos5 boards that use device tree
[u-boot] / tools / ifdtool.c
index 1d61df19f231016f0eee82d275bf47c63e258215..df166161f439f7fe66d2f9f2675298e2785bb20f 100644 (file)
@@ -987,7 +987,7 @@ int main(int argc, char *argv[])
                                        print_usage(argv[0]);
                                        exit(EXIT_FAILURE);
                                }
-                               ifile->addr = strtol(optarg, NULL, 0);
+                               ifile->addr = strtoll(optarg, NULL, 0);
                                ifile->type = opt == 'f' ? IF_fdt :
                                        opt == 'U' ? IF_uboot : IF_normal;
                                if (ifile->type == IF_fdt)