mirror of
https://xff.cz/git/u-boot/
synced 2025-09-07 11:42:13 +02:00
ata: ahci_mvebu: a8040 a0: remove bad port register offsets workarounds
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> Reviewed-by: Stefan Roese <sr@denx.de> Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Stefan Roese <sr@denx.de>
This commit is contained in:
committed by
Stefan Roese
parent
592b4a7e97
commit
329dd3244f
@@ -16,14 +16,6 @@ __weak int board_ahci_enable(void)
|
|||||||
return 0;
|
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)
|
static int mvebu_ahci_probe(struct udevice *dev)
|
||||||
{
|
{
|
||||||
/*
|
/*
|
||||||
|
Reference in New Issue
Block a user