Skip to content

Commit

Permalink
[ARM] Orion: Use the sata_mv driver for the Kurobox SATA
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Byron Bradley authored and Nicolas Pitre committed Feb 8, 2008
1 parent 8c42da4 commit 3b277c2
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions arch/arm/mach-orion/kurobox_pro-setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
#include <linux/mtd/nand.h>
#include <linux/mv643xx_eth.h>
#include <linux/i2c.h>
#include <linux/ata_platform.h>
#include <asm/mach-types.h>
#include <asm/gpio.h>
#include <asm/mach/arch.h>
Expand Down Expand Up @@ -166,6 +167,13 @@ static struct i2c_board_info __initdata kurobox_pro_i2c_rtc = {
.addr = 0x32,
};

/*****************************************************************************
* SATA
****************************************************************************/
static struct mv_sata_platform_data kurobox_pro_sata_data = {
.n_ports = 2,
};

/*****************************************************************************
* General Setup
****************************************************************************/
Expand Down Expand Up @@ -220,6 +228,7 @@ static void __init kurobox_pro_init(void)
platform_add_devices(kurobox_pro_devices, ARRAY_SIZE(kurobox_pro_devices));
i2c_register_board_info(0, &kurobox_pro_i2c_rtc, 1);
orion_eth_init(&kurobox_pro_eth_data);
orion_sata_init(&kurobox_pro_sata_data);
}

MACHINE_START(KUROBOX_PRO, "Buffalo/Revogear Kurobox Pro")
Expand Down

0 comments on commit 3b277c2

Please sign in to comment.