]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - common/spl/spl_sata.c
arm: am43xx: enable spi clock
[karo-tx-uboot.git] / common / spl / spl_sata.c
index 12e16d96039d2cb3e9f785e05140fbaac803cfa3..2a5eb2985721104e035be19a8ca7a696f813ae8c 100644 (file)
@@ -13,8 +13,8 @@
 #include <spl.h>
 #include <asm/u-boot.h>
 #include <sata.h>
+#include <scsi.h>
 #include <fat.h>
-#include <version.h>
 #include <image.h>
 
 DECLARE_GLOBAL_DATA_PTR;
@@ -42,7 +42,7 @@ void spl_sata_load_image(void)
 #endif
        err = spl_load_image_fat(stor_dev,
                                CONFIG_SYS_SATA_FAT_BOOT_PARTITION,
-                               CONFIG_SPL_FAT_LOAD_PAYLOAD_NAME);
+                               CONFIG_SPL_FS_LOAD_PAYLOAD_NAME);
        if (err) {
                puts("Error loading sata device\n");
                hang();