From 5f99cb78dc069f5afc8624ecbaa97a9ad0ba3b00 Mon Sep 17 00:00:00 2001 From: Magnus Damm Date: Wed, 3 Jun 2009 08:26:40 +0000 Subject: [PATCH] --- yaml --- r: 146871 b: refs/heads/master c: c01641b42a88c475fd4b72cff2b10e42262a80fe h: refs/heads/master i: 146869: 2658c3f839ea90c02a11bb4ed7c0a6f7299d4c22 146867: 5e70a66f8e498199ad58c5bfc25f7eb36d53f30d 146863: da8211242d3d4b315dacf10d38ed3d0edfba3b99 v: v3 --- [refs] | 2 +- trunk/arch/sh/boards/board-ap325rxa.c | 12 ++++++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index 62c857a9d511..4dcc5b4978b7 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 0ec80fddf1674579d52b5ff94774ba73107cad31 +refs/heads/master: c01641b42a88c475fd4b72cff2b10e42262a80fe diff --git a/trunk/arch/sh/boards/board-ap325rxa.c b/trunk/arch/sh/boards/board-ap325rxa.c index f2a29641b6a3..1c4d83ef2a47 100644 --- a/trunk/arch/sh/boards/board-ap325rxa.c +++ b/trunk/arch/sh/boards/board-ap325rxa.c @@ -535,6 +535,18 @@ static int __init ap325rxa_devices_setup(void) } device_initcall(ap325rxa_devices_setup); +/* Return the board specific boot mode pin configuration */ +static int ap325rxa_mode_pins(void) +{ + /* MD0=0, MD1=0, MD2=0: Clock Mode 0 + * MD3=0: 16-bit Area0 Bus Width + * MD5=1: Little Endian + * TSTMD=1, MD8=1: Test Mode Disabled + */ + return MODE_PIN5 | MODE_PIN8; +} + static struct sh_machine_vector mv_ap325rxa __initmv = { .mv_name = "AP-325RXA", + .mv_mode_pins = ap325rxa_mode_pins, };