Skip to content

Commit

Permalink
ARM: 5632/1: Board-specific data for IDE support on afeb9260
Browse files Browse the repository at this point in the history
This patch adds board-specific data for IDE support on afeb9260.

Depends on #5631/1

Tested-by: Sergey Matyukevich <[email protected]>
Signed-off-by: Sergey Matyukevich <[email protected]>
Acked-by: Andrew Victor <[email protected]>
Acked-by: Sergey Lapin <[email protected]>
Signed-off-by: Russell King <[email protected]>
  • Loading branch information
geomatsi authored and Russell King committed Aug 1, 2009
1 parent fb85205 commit 0c30df6
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions arch/arm/mach-at91/board-afeb-9260v1.c
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,16 @@ static struct i2c_board_info __initdata afeb9260_i2c_devices[] = {
},
};

/*
* IDE (CF True IDE mode)
*/
static struct at91_cf_data afeb9260_cf_data = {
.chipselect = 4,
.irq_pin = AT91_PIN_PA6,
.rst_pin = AT91_PIN_PA7,
.flags = AT91_CF_TRUE_IDE,
};

static void __init afeb9260_board_init(void)
{
/* Serial */
Expand Down Expand Up @@ -202,6 +212,8 @@ static void __init afeb9260_board_init(void)
ARRAY_SIZE(afeb9260_i2c_devices));
/* Audio */
at91_add_device_ssc(AT91SAM9260_ID_SSC, ATMEL_SSC_TX);
/* IDE */
at91_add_device_cf(&afeb9260_cf_data);
}

MACHINE_START(AFEB9260, "Custom afeb9260 board")
Expand Down

0 comments on commit 0c30df6

Please sign in to comment.