diff options
author | Byron Bradley <byron.bbradley@gmail.com> | 2008-02-08 13:20:01 -0500 |
---|---|---|
committer | Nicolas Pitre <nico@cam.org> | 2008-02-08 13:29:21 -0500 |
commit | 3b277c2965b0c707b76f89368ebe6e6da6605c23 (patch) | |
tree | e4e9d90ef3009cad856b35e0d31ba8eab4ad5beb /arch | |
parent | 8c42da46f3b0ff85ac4f61beaa0633bbb480c49e (diff) |
[ARM] Orion: Use the sata_mv driver for the Kurobox SATA
The Kurobox has a two port integrated SATA controller.
Use the sata_mv driver for this.
Signed-off-by: Byron Bradley <byron.bbradley@gmail.com>
Signed-off-by: Nicolas Pitre <nico@marvell.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/mach-orion/kurobox_pro-setup.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/arm/mach-orion/kurobox_pro-setup.c b/arch/arm/mach-orion/kurobox_pro-setup.c index 9bdd987edbb..6817aca4aa2 100644 --- a/arch/arm/mach-orion/kurobox_pro-setup.c +++ b/arch/arm/mach-orion/kurobox_pro-setup.c | |||
@@ -17,6 +17,7 @@ | |||
17 | #include <linux/mtd/nand.h> | 17 | #include <linux/mtd/nand.h> |
18 | #include <linux/mv643xx_eth.h> | 18 | #include <linux/mv643xx_eth.h> |
19 | #include <linux/i2c.h> | 19 | #include <linux/i2c.h> |
20 | #include <linux/ata_platform.h> | ||
20 | #include <asm/mach-types.h> | 21 | #include <asm/mach-types.h> |
21 | #include <asm/gpio.h> | 22 | #include <asm/gpio.h> |
22 | #include <asm/mach/arch.h> | 23 | #include <asm/mach/arch.h> |
@@ -167,6 +168,13 @@ static struct i2c_board_info __initdata kurobox_pro_i2c_rtc = { | |||
167 | }; | 168 | }; |
168 | 169 | ||
169 | /***************************************************************************** | 170 | /***************************************************************************** |
171 | * SATA | ||
172 | ****************************************************************************/ | ||
173 | static struct mv_sata_platform_data kurobox_pro_sata_data = { | ||
174 | .n_ports = 2, | ||
175 | }; | ||
176 | |||
177 | /***************************************************************************** | ||
170 | * General Setup | 178 | * General Setup |
171 | ****************************************************************************/ | 179 | ****************************************************************************/ |
172 | 180 | ||
@@ -220,6 +228,7 @@ static void __init kurobox_pro_init(void) | |||
220 | platform_add_devices(kurobox_pro_devices, ARRAY_SIZE(kurobox_pro_devices)); | 228 | platform_add_devices(kurobox_pro_devices, ARRAY_SIZE(kurobox_pro_devices)); |
221 | i2c_register_board_info(0, &kurobox_pro_i2c_rtc, 1); | 229 | i2c_register_board_info(0, &kurobox_pro_i2c_rtc, 1); |
222 | orion_eth_init(&kurobox_pro_eth_data); | 230 | orion_eth_init(&kurobox_pro_eth_data); |
231 | orion_sata_init(&kurobox_pro_sata_data); | ||
223 | } | 232 | } |
224 | 233 | ||
225 | MACHINE_START(KUROBOX_PRO, "Buffalo/Revogear Kurobox Pro") | 234 | MACHINE_START(KUROBOX_PRO, "Buffalo/Revogear Kurobox Pro") |