X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=board%2Fsunxi%2Fahci.c;h=522e54ab160e1c576c3beecf5beb773636b775d8;hb=235c5b8315c6a9eb566fd3d99a098cc6db869fc5;hp=0c262eabb754785ca4a53064e47af53feee1d820;hpb=a6e50a88d8d3724fc75f1c6959b80a6c7c69cbad;p=oweals%2Fu-boot.git diff --git a/board/sunxi/ahci.c b/board/sunxi/ahci.c index 0c262eabb7..522e54ab16 100644 --- a/board/sunxi/ahci.c +++ b/board/sunxi/ahci.c @@ -72,13 +72,8 @@ static int sunxi_ahci_phy_init(u32 base) void scsi_init(void) { - printf("SUNXI SCSI INIT\n"); -#ifdef CONFIG_SATAPWR - gpio_direction_output(CONFIG_SATAPWR, 1); -#endif - if (sunxi_ahci_phy_init(SUNXI_SATA_BASE) < 0) return; - ahci_init(SUNXI_SATA_BASE); + ahci_init((void __iomem *)SUNXI_SATA_BASE); }