summaryrefslogtreecommitdiff
path: root/arch/arm/include
diff options
context:
space:
mode:
authorPrafulla Wadaskar <prafulla@pe-lt078.(none)>2010-08-07 17:29:44 +0530
committerPrafulla Wadaskar <prafulla@marvell.com>2010-08-08 05:17:55 +0530
commit5f30500316ae29eed93aafcc40dfc857a2452203 (patch)
treed073e2cbc424108c92cab566d639e32b02ef0b6c /arch/arm/include
parentecaf3af2977e76484e0231d3113be3f4bbf2b8d6 (diff)
downloadu-boot-imx-5f30500316ae29eed93aafcc40dfc857a2452203.zip
u-boot-imx-5f30500316ae29eed93aafcc40dfc857a2452203.tar.gz
u-boot-imx-5f30500316ae29eed93aafcc40dfc857a2452203.tar.bz2
cmd_ide: add support for Kirkwood
Added MVSATAC definitions to Kirkwood. Added support for Kirkwood in cmd_ide. Signed-off-by: Prafulla Wadaskar <prafulla@marvell.com>
Diffstat (limited to 'arch/arm/include')
-rw-r--r--arch/arm/include/asm/arch-kirkwood/kirkwood.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/include/asm/arch-kirkwood/kirkwood.h b/arch/arm/include/asm/arch-kirkwood/kirkwood.h
index 9edb0be..0104418 100644
--- a/arch/arm/include/asm/arch-kirkwood/kirkwood.h
+++ b/arch/arm/include/asm/arch-kirkwood/kirkwood.h
@@ -59,6 +59,11 @@
#define KW_USB20_BASE (KW_REGISTER(0x50000))
#define KW_EGIGA0_BASE (KW_REGISTER(0x72000))
#define KW_EGIGA1_BASE (KW_REGISTER(0x76000))
+#define KW_SATA_BASE (KW_REGISTER(0x80000))
+
+/* Kirkwood Sata controller has two ports */
+#define KW_SATA_PORT0_OFFSET 0x2000
+#define KW_SATA_PORT1_OFFSET 0x4000
/* Kirkwood GbE controller has two ports */
#define MAX_MVGBE_DEVS 2