]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - common/spl/spl.c
Use __stringify() instead of xstr()
[karo-tx-uboot.git] / common / spl / spl.c
index 0645cee789ff8640f12ab69de458b1cd91013eef..b16664f8454012043de15e34f2bdf0ec8ef40311 100644 (file)
@@ -86,7 +86,7 @@ void spl_parse_image_header(const struct image_header *header)
                spl_image.os = image_get_os(header);
                spl_image.name = image_get_name(header);
                debug("spl: payload image: %.*s load addr: 0x%x size: %d\n",
-                       sizeof(spl_image.name), spl_image.name,
+                       (int)sizeof(spl_image.name), spl_image.name,
                        spl_image.load_addr, spl_image.size);
        } else {
                /* Signature not found - assume u-boot.bin */
@@ -209,6 +209,11 @@ void board_init_r(gd_t *dummy1, ulong dummy2)
        case BOOT_DEVICE_USB:
                spl_usb_load_image();
                break;
+#endif
+#ifdef CONFIG_SPL_SATA_SUPPORT
+       case BOOT_DEVICE_SATA:
+               spl_sata_load_image();
+               break;
 #endif
        default:
                debug("SPL: Un-supported Boot Device\n");