diff mbox series

[U-Boot,v2,2/4] ata: ahci_mvebu: a8040 a0: remove bad port register offsets workarounds

Message ID 1527128013-10776-3-git-send-email-make@marvell.com
State Superseded
Delegated to: Stefan Roese
Headers show
Series ahci mvebu driver updates | expand

Commit Message

Ken Ma May 24, 2018, 2:13 a.m. UTC
From: David Sniatkiwicz <davidsn@marvell.com>

This workaround was added for A8040/7040 A0.
A8040/7040 A0 is no longer supported so this workaround
can be removed.

Signed-off-by: David Sniatkiwicz <davidsn@marvell.com>
Signed-off-by: Ken Ma <make@marvell.com>
---

Changes in v2: None

 drivers/ata/ahci_mvebu.c | 8 --------
 1 file changed, 8 deletions(-)

Comments

Stefan Roese May 24, 2018, 3:17 p.m. UTC | #1
On 24.05.2018 04:13, make@marvell.com wrote:
> From: David Sniatkiwicz <davidsn@marvell.com>
> 
> This workaround was added for A8040/7040 A0.
> A8040/7040 A0 is no longer supported so this workaround
> can be removed.
> 
> Signed-off-by: David Sniatkiwicz <davidsn@marvell.com>
> Signed-off-by: Ken Ma <make@marvell.com>
> ---
> 
> Changes in v2: None

Please don't drop the already collected tags here - in this
case the Reviewed-by from Simon.

Reviewed-by: Stefan Roese <sr@denx.de>

Thanks,
Stefan
diff mbox series

Patch

diff --git a/drivers/ata/ahci_mvebu.c b/drivers/ata/ahci_mvebu.c
index 5c1b293..97a04d9 100644
--- a/drivers/ata/ahci_mvebu.c
+++ b/drivers/ata/ahci_mvebu.c
@@ -19,14 +19,6 @@  __weak int board_ahci_enable(void)
 	return 0;
 }
 
-#ifdef CONFIG_ARMADA_8K
-/* CP110 has different AHCI port addresses */
-void __iomem *ahci_port_base(void __iomem *base, u32 port)
-{
-	return base + 0x10000 + (port * 0x10000);
-}
-#endif
-
 static int mvebu_ahci_probe(struct udevice *dev)
 {
 	/*