diff options
-rw-r--r-- | arch/sh/boards/board-ap325rxa.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/arch/sh/boards/board-ap325rxa.c b/arch/sh/boards/board-ap325rxa.c index f2a29641b6a3..1c4d83ef2a47 100644 --- a/arch/sh/boards/board-ap325rxa.c +++ b/arch/sh/boards/board-ap325rxa.c | |||
@@ -535,6 +535,18 @@ static int __init ap325rxa_devices_setup(void) | |||
535 | } | 535 | } |
536 | device_initcall(ap325rxa_devices_setup); | 536 | device_initcall(ap325rxa_devices_setup); |
537 | 537 | ||
538 | /* Return the board specific boot mode pin configuration */ | ||
539 | static int ap325rxa_mode_pins(void) | ||
540 | { | ||
541 | /* MD0=0, MD1=0, MD2=0: Clock Mode 0 | ||
542 | * MD3=0: 16-bit Area0 Bus Width | ||
543 | * MD5=1: Little Endian | ||
544 | * TSTMD=1, MD8=1: Test Mode Disabled | ||
545 | */ | ||
546 | return MODE_PIN5 | MODE_PIN8; | ||
547 | } | ||
548 | |||
538 | static struct sh_machine_vector mv_ap325rxa __initmv = { | 549 | static struct sh_machine_vector mv_ap325rxa __initmv = { |
539 | .mv_name = "AP-325RXA", | 550 | .mv_name = "AP-325RXA", |
551 | .mv_mode_pins = ap325rxa_mode_pins, | ||
540 | }; | 552 | }; |