diff options
author | Ron Lee <ron@debian.org> | 2009-08-10 08:53:48 -0400 |
---|---|---|
committer | Nicolas Pitre <nico@cam.org> | 2009-08-10 18:04:00 -0400 |
commit | decf77079511fc5ef832ead074bb45e4e0b099c0 (patch) | |
tree | 75d9484b8b60315873a73a90991fcc0e1255fa76 /arch/arm/mach-kirkwood | |
parent | 7eeae54c68e91c46ec170e764d1cceac81f35969 (diff) |
[ARM] Kirkwood: Initialise SATA for OpenRD-Base
Signed-off-by: Ron Lee <ron@debian.org>
Signed-off-by: Dhaval Vasa <dhaval.vasa@einfochips.com>
Signed-off-by: Nicolas Pitre <nico@marvell.com>
Diffstat (limited to 'arch/arm/mach-kirkwood')
-rw-r--r-- | arch/arm/mach-kirkwood/openrd_base-setup.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/mach-kirkwood/openrd_base-setup.c b/arch/arm/mach-kirkwood/openrd_base-setup.c index 3144bb875789..947dfb8cd5b2 100644 --- a/arch/arm/mach-kirkwood/openrd_base-setup.c +++ b/arch/arm/mach-kirkwood/openrd_base-setup.c | |||
@@ -12,6 +12,7 @@ | |||
12 | #include <linux/init.h> | 12 | #include <linux/init.h> |
13 | #include <linux/platform_device.h> | 13 | #include <linux/platform_device.h> |
14 | #include <linux/mtd/partitions.h> | 14 | #include <linux/mtd/partitions.h> |
15 | #include <linux/ata_platform.h> | ||
15 | #include <linux/mv643xx_eth.h> | 16 | #include <linux/mv643xx_eth.h> |
16 | #include <asm/mach-types.h> | 17 | #include <asm/mach-types.h> |
17 | #include <asm/mach/arch.h> | 18 | #include <asm/mach/arch.h> |
@@ -40,6 +41,10 @@ static struct mv643xx_eth_platform_data openrd_base_ge00_data = { | |||
40 | .phy_addr = MV643XX_ETH_PHY_ADDR(8), | 41 | .phy_addr = MV643XX_ETH_PHY_ADDR(8), |
41 | }; | 42 | }; |
42 | 43 | ||
44 | static struct mv_sata_platform_data openrd_base_sata_data = { | ||
45 | .n_ports = 2, | ||
46 | }; | ||
47 | |||
43 | static struct mvsdio_platform_data openrd_base_mvsdio_data = { | 48 | static struct mvsdio_platform_data openrd_base_mvsdio_data = { |
44 | .gpio_card_detect = 29, /* MPP29 used as SD card detect */ | 49 | .gpio_card_detect = 29, /* MPP29 used as SD card detect */ |
45 | }; | 50 | }; |
@@ -63,6 +68,7 @@ static void __init openrd_base_init(void) | |||
63 | kirkwood_ehci_init(); | 68 | kirkwood_ehci_init(); |
64 | 69 | ||
65 | kirkwood_ge00_init(&openrd_base_ge00_data); | 70 | kirkwood_ge00_init(&openrd_base_ge00_data); |
71 | kirkwood_sata_init(&openrd_base_sata_data); | ||
66 | kirkwood_sdio_init(&openrd_base_mvsdio_data); | 72 | kirkwood_sdio_init(&openrd_base_mvsdio_data); |
67 | } | 73 | } |
68 | 74 | ||