]> git.sur5r.net Git - u-boot/blobdiff - common/spl/spl_sdp.c
libfdt: move working_fdt and FDT_RAMDISK_OVERHEAD to include/libfdt.h
[u-boot] / common / spl / spl_sdp.c
index 350bcdb056956d0ca6c61a3d4f11581730b7dce0..333d518f4d6e777aa603c024c985082db180b485 100644 (file)
@@ -24,13 +24,13 @@ static int spl_sdp_load_image(struct spl_image_info *spl_image,
 
        ret = sdp_init(controller_index);
        if (ret) {
-               error("SDP init failed: %d", ret);
+               pr_err("SDP init failed: %d", ret);
                return -ENODEV;
        }
 
        /* This command typically does not return but jumps to an image */
        sdp_handle(controller_index);
-       error("SDP ended");
+       pr_err("SDP ended");
 
        return -EINVAL;
 }