aboutsummaryrefslogtreecommitdiff
path: root/include/asm-arm/arch-orion
diff options
context:
space:
mode:
authorLennert Buytenhek <buytenh@wantstofly.org>2008-03-27 14:51:39 -0400
committerNicolas Pitre <nico@marvell.com>2008-03-27 14:51:39 -0400
commit92aecfa95523384923b52c8ddaf948fc02a53e82 (patch)
tree0bea3d5d3ee86b1540cecd5aeab9afa48919ee7d /include/asm-arm/arch-orion
parent1f2223b12b62a97d66e39199db50ed3fae9222c0 (diff)
ehci-orion: mbus decode window support
Make it possible to pass mbus_dram_target_info to the ehci-orion driver via the platform data, make the ehci-orion driver program the window registers based on this data if it is passed in, and make the Orion platform setup code use this method instead of programming the EHCI mbus window registers by hand. Signed-off-by: Lennert Buytenhek <buytenh@marvell.com> Reviewed-by: Tzachi Perelstein <tzachi@marvell.com> Acked-by: Russell King <rmk+kernel@arm.linux.org.uk> Signed-off-by: Nicolas Pitre <nico@marvell.com>
Diffstat (limited to 'include/asm-arm/arch-orion')
-rw-r--r--include/asm-arm/arch-orion/platform.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/asm-arm/arch-orion/platform.h b/include/asm-arm/arch-orion/platform.h
index 143c38e2fa0..0e33fe536ef 100644
--- a/include/asm-arm/arch-orion/platform.h
+++ b/include/asm-arm/arch-orion/platform.h
@@ -12,6 +12,14 @@
#define __ASM_ARCH_PLATFORM_H__
/*
+ * Orion EHCI platform driver data.
+ */
+struct orion_ehci_data {
+ struct mbus_dram_target_info *dram;
+};
+
+
+/*
* Device bus NAND private data
*/
struct orion_nand_data {
@@ -22,4 +30,5 @@ struct orion_nand_data {
u8 width; /* buswidth */
};
+
#endif