ahci: mmio_base is a virtual address
[platform/kernel/u-boot.git] / arch / arm / cpu / armv7 / omap-common / boot-common.c
index 17500f2..f2f6897 100644 (file)
@@ -159,6 +159,6 @@ void __noreturn jump_to_image_no_args(struct spl_image_info *spl_image)
 #ifdef CONFIG_SCSI_AHCI_PLAT
 void arch_preboot_os(void)
 {
-       ahci_reset(DWC_AHSATA_BASE);
+       ahci_reset((void __iomem *)DWC_AHSATA_BASE);
 }
 #endif