]> Git Repo - J-u-boot.git/blobdiff - common/update.c
tools: kwboot: Refactor and fix writing buffer
[J-u-boot.git] / common / update.c
index f0848954e5dfb0ae3083ca4238e9bc54644ca035..f5c8684f1b26e2e633cd66c9e08d308e2a3bcf0f 100644 (file)
@@ -272,7 +272,7 @@ int update_tftp(ulong addr, char *interface, char *devstring)
        /* get load address of downloaded update file */
        env_addr = env_get("loadaddr");
        if (env_addr)
-               addr = simple_strtoul(env_addr, NULL, 16);
+               addr = hextoul(env_addr, NULL);
        else
                addr = CONFIG_UPDATE_LOAD_ADDR;
 
This page took 0.026106 seconds and 4 git commands to generate.