From: Ron Lee Date: Mon, 10 Aug 2009 12:53:48 +0000 (+0530) Subject: [ARM] Kirkwood: Initialise SATA for OpenRD-Base X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=decf77079511fc5ef832ead074bb45e4e0b099c0;p=linux-beck.git [ARM] Kirkwood: Initialise SATA for OpenRD-Base Signed-off-by: Ron Lee Signed-off-by: Dhaval Vasa Signed-off-by: Nicolas Pitre --- 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); }