X-Git-Url: http://git.cascardo.info/?a=blobdiff_plain;f=arch%2Fsh%2Fboards%2Fboard-ap325rxa.c;h=1c4d83ef2a4724e10da98bd42d58941d4a03ba15;hb=c01641b42a88c475fd4b72cff2b10e42262a80fe;hp=f2a29641b6a326cc857c8334383717dffc70aba7;hpb=5606b7f925b36f25a6646bb93a0cf74981de3d28;p=cascardo%2Flinux.git 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) } 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, };