]> git.sur5r.net Git - u-boot/blobdiff - board/siemens/common/fpga.c
[new uImage] Update naming convention for bootm/uImage related code
[u-boot] / board / siemens / common / fpga.c
index a9a6dfed69a7ea36ac193be833ded081d18681e6..48c185082f8d3c5fbbcfd76d69a1e8d4f8d77313 100644 (file)
@@ -138,7 +138,7 @@ static int fpga_load (fpga_t* fpga, ulong addr, int checkall)
     int verify, i;
 
 #if defined(CONFIG_FIT)
-    if (gen_image_get_format ((void *)hdr) != IMAGE_FORMAT_LEGACY) {
+    if (genimg_get_format ((void *)hdr) != IMAGE_FORMAT_LEGACY) {
        puts ("Non legacy image format not supported\n");
        return -1;
     }
@@ -341,7 +341,7 @@ int fpga_init (void)
 
        hdr = (image_header_t *)addr;
 #if defined(CONFIG_FIT)
-       if (gen_image_get_format ((void *)hdr) != IMAGE_FORMAT_LEGACY) {
+       if (genimg_get_format ((void *)hdr) != IMAGE_FORMAT_LEGACY) {
           puts ("Non legacy image format not supported\n");
           return -1;
        }