X-Git-Url: https://git.kernelconcepts.de/?a=blobdiff_plain;f=include%2Fahci.h;h=e8dee5357514c1cb33140da968626d8217f145ba;hb=ade8bc14ad419f698406b162c9c5dfeee7406b4c;hp=90e850929b7d4c625dee3baeb7ed4307af2fe0cc;hpb=7bcee5f7eef740c506117e6da1226bc8ec7f466a;p=karo-tx-uboot.git diff --git a/include/ahci.h b/include/ahci.h index 90e850929b..e8dee53575 100644 --- a/include/ahci.h +++ b/include/ahci.h @@ -58,6 +58,10 @@ #define PORT_SCR_ERR 0x30 /* SATA phy register: SError */ #define PORT_SCR_ACT 0x34 /* SATA phy register: SActive */ +#ifdef CONFIG_SUNXI_AHCI +#define PORT_P0DMACR 0x70 /* SUNXI specific "DMA register" */ +#endif + /* PORT_IRQ_{STAT,MASK} bits */ #define PORT_IRQ_COLD_PRES (1 << 31) /* cold presence detect */ #define PORT_IRQ_TF_ERR (1 << 30) /* task file error */ @@ -157,5 +161,6 @@ struct ahci_probe_ent { }; int ahci_init(u32 base); +int ahci_reset(u32 base); #endif