From decf77079511fc5ef832ead074bb45e4e0b099c0 Mon Sep 17 00:00:00 2001 From: Ron Lee Date: Mon, 10 Aug 2009 18:23:48 +0530 Subject: [ARM] Kirkwood: Initialise SATA for OpenRD-Base Signed-off-by: Ron Lee Signed-off-by: Dhaval Vasa Signed-off-by: Nicolas Pitre --- arch/arm/mach-kirkwood/openrd_base-setup.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'arch/arm/mach-kirkwood') 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 @@ #include #include #include +#include #include #include #include @@ -40,6 +41,10 @@ static struct mv643xx_eth_platform_data openrd_base_ge00_data = { .phy_addr = MV643XX_ETH_PHY_ADDR(8), }; +static struct mv_sata_platform_data openrd_base_sata_data = { + .n_ports = 2, +}; + static struct mvsdio_platform_data openrd_base_mvsdio_data = { .gpio_card_detect = 29, /* MPP29 used as SD card detect */ }; @@ -63,6 +68,7 @@ static void __init openrd_base_init(void) kirkwood_ehci_init(); kirkwood_ge00_init(&openrd_base_ge00_data); + kirkwood_sata_init(&openrd_base_sata_data); kirkwood_sdio_init(&openrd_base_mvsdio_data); } -- cgit v1.2.3