projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
592b4a7
)
ata: ahci_mvebu: a8040 a0: remove bad port register offsets workarounds
author
David Sniatkiwicz
<
[email protected]
>
Fri, 25 May 2018 07:49:25 +0000
(15:49 +0800)
committer
Stefan Roese
<
[email protected]
>
Tue, 29 May 2018 06:33:05 +0000
(08:33 +0200)
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 <
[email protected]
>
Signed-off-by: Ken Ma <
[email protected]
>
Reviewed-by: Stefan Roese <
[email protected]
>
Reviewed-by: Simon Glass <
[email protected]
>
Signed-off-by: Stefan Roese <
[email protected]
>
drivers/ata/ahci_mvebu.c
patch
|
blob
|
history
diff --git
a/drivers/ata/ahci_mvebu.c
b/drivers/ata/ahci_mvebu.c
index 3ae8dae4ddc379bf5e2edcc198dad1d1016a660c..c1d215f6b457d1558bd1e9d97eab1b3f971bd18d 100644
(file)
--- a/
drivers/ata/ahci_mvebu.c
+++ b/
drivers/ata/ahci_mvebu.c
@@
-16,14
+16,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)
{
/*