From patchwork Wed Jun 3 08:26:40 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Magnus Damm X-Patchwork-Id: 27626 Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id n538Tvnk019745 for ; Wed, 3 Jun 2009 08:29:57 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753631AbZFCI3x (ORCPT ); Wed, 3 Jun 2009 04:29:53 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753916AbZFCI3x (ORCPT ); Wed, 3 Jun 2009 04:29:53 -0400 Received: from mail-pz0-f177.google.com ([209.85.222.177]:34461 "EHLO mail-pz0-f177.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753631AbZFCI3x (ORCPT ); Wed, 3 Jun 2009 04:29:53 -0400 Received: by pzk7 with SMTP id 7so7279372pzk.33 for ; Wed, 03 Jun 2009 01:29:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:date:message-id :subject; bh=WTFn6e2s9d0rveRREyfFnnDkdzQzczcFq3I2mDu9s3U=; b=pT4HYnuggIfzh59axBGZ3oq4RUwG+zLomL+LOA8Pv1pP6J/OmR1a0smtO+52xQxphn AnQxdUPSSGv/hFrjYlJhyU0UZzXCcWezoIShMgflAcRTuHQnoPU92SHLN6U7lwLgSlsT Kr0qSdi6guW1gsNTEDRAzw5TZjlbVyfNuCxEk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:date:message-id:subject; b=CRu7zhXayMq9xw7k+J49l4wI2m8uLb/kDs1EZujera2TFLaqbpMHTEKHfmvC47Ika3 FZU6eSL/eE4AnnUhaCqnrYPOTkYrIrLETafhRi/5QGxSfGm/nW9tLhbLNf7D2HDIjodW hwMMYEUw3PrCNFG4LzqwhjYo8rcpc+XojudAA= Received: by 10.142.237.20 with SMTP id k20mr339211wfh.8.1244017794948; Wed, 03 Jun 2009 01:29:54 -0700 (PDT) Received: from rx1.opensource.se (210.5.32.202.bf.2iij.net [202.32.5.210]) by mx.google.com with ESMTPS id 32sm128627wfc.14.2009.06.03.01.29.53 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 03 Jun 2009 01:29:54 -0700 (PDT) From: Magnus Damm To: linux-sh@vger.kernel.org Cc: Magnus Damm , lethal@linux-sh.org Date: Wed, 03 Jun 2009 17:26:40 +0900 Message-Id: <20090603082640.28419.69409.sendpatchset@rx1.opensource.se> Subject: [PATCH] sh: add AP325RXA mode pin configuration Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org From: Magnus Damm This patch adds mode pin configuration to ap325rxa. Signed-off-by: Magnus Damm --- arch/sh/boards/board-ap325rxa.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) -- To unsubscribe from this list: send the line "unsubscribe linux-sh" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html --- 0001/arch/sh/boards/board-ap325rxa.c +++ work/arch/sh/boards/board-ap325rxa.c 2009-06-03 16:29:41.000000000 +0900 @@ -535,6 +535,18 @@ static int __init ap325rxa_devices_setup } 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, };