summaryrefslogtreecommitdiffstats
path: root/arch/arm/include/asm/arch-orion5x
diff options
context:
space:
mode:
authorAlbert Aribaud <[albert.aribaud@free.fr]>2010-08-08 05:17:06 +0530
committerPrafulla Wadaskar <prafulla@marvell.com>2010-08-08 05:17:06 +0530
commit113bfe48bc92faa1191190b525a46419918971d9 (patch)
tree6a27469cd4f62f55e42a5c5e3bca811dd74ab1a5 /arch/arm/include/asm/arch-orion5x
parent39419ce589bb6b8c25819abe21eaa3c721dfb8b9 (diff)
downloadblackbird-obmc-uboot-113bfe48bc92faa1191190b525a46419918971d9.tar.gz
blackbird-obmc-uboot-113bfe48bc92faa1191190b525a46419918971d9.zip
cmd_ide: add support for orion5x
Add MVSATAHC definitions to orion5x. Add support for orion5x in cmd_ide. Signed-off-by: Albert Aribaud <albert.aribaud@free.fr>
Diffstat (limited to 'arch/arm/include/asm/arch-orion5x')
-rw-r--r--arch/arm/include/asm/arch-orion5x/orion5x.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/include/asm/arch-orion5x/orion5x.h b/arch/arm/include/asm/arch-orion5x/orion5x.h
index d257b66581..e3d3f76dbb 100644
--- a/arch/arm/include/asm/arch-orion5x/orion5x.h
+++ b/arch/arm/include/asm/arch-orion5x/orion5x.h
@@ -55,6 +55,9 @@
#define ORION5X_USB20_PORT0_BASE (ORION5X_REGISTER(0x50000))
#define ORION5X_USB20_PORT1_BASE (ORION5X_REGISTER(0xA0000))
#define ORION5X_EGIGA_BASE (ORION5X_REGISTER(0x72000))
+#define ORION5X_SATA_BASE (ORION5X_REGISTER(0x80000))
+#define ORION5X_SATA_PORT0_OFFSET 0x2000
+#define ORION5X_SATA_PORT1_OFFSET 0x4000
/* Orion5x GbE controller has a single port */
#define MAX_MVGBE_DEVS 1
OpenPOWER on IntegriCloud