From patchwork Thu Sep 10 01:40:02 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kuninori Morimoto X-Patchwork-Id: 46532 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 n8A1e9E9000533 for ; Thu, 10 Sep 2009 01:40:10 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754077AbZIJBkC (ORCPT ); Wed, 9 Sep 2009 21:40:02 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754853AbZIJBkC (ORCPT ); Wed, 9 Sep 2009 21:40:02 -0400 Received: from mail.renesas.com ([202.234.163.13]:53107 "EHLO mail03.idc.renesas.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1754077AbZIJBkB (ORCPT ); Wed, 9 Sep 2009 21:40:01 -0400 X-AuditID: ac140386-0000000a00003037-80-4aa858f3619a Received: from guardian02.idc.renesas.com ([172.20.8.201]) by mail03.idc.renesas.com (sendmail) with ESMTP id n8A1e3t8002211; Thu, 10 Sep 2009 10:40:03 +0900 (JST) Received: (from root@localhost) by guardian02.idc.renesas.com with id n8A1e2Ju003129; Thu, 10 Sep 2009 10:40:02 +0900 (JST) Received: from mta04.idc.renesas.com (localhost [127.0.0.1]) by mta04.idc.renesas.com with ESMTP id n8A1e2r9005267; Thu, 10 Sep 2009 10:40:02 +0900 (JST) Received: from PG10870.renesas.com ([172.30.8.159]) by ims05.idc.renesas.com (Sendmail) with ESMTPA id <0KPQ003FRFART9@ims05.idc.renesas.com>; Thu, 10 Sep 2009 10:40:03 +0900 (JST) Date: Thu, 10 Sep 2009 10:40:02 +0900 From: Kuninori Morimoto Subject: [PATCH 5/6] sh: USB disable process is needed if romImage boot for EcoVec24 To: SH-Linux Cc: Paul Mundt Message-id: MIME-version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-type: text/plain; charset=US-ASCII User-Agent: SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (=?ISO-8859-4?Q?Goj=F2?=) APEL/10.7 Emacs/22.1 (i386-mingw-nt5.1.2600) MULE/5.0 (SAKAKI) Meadow/3.00-dev (KIKU) X-Brightmail-Tracker: AAAAAA== Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org when you use romImage on EcoVec24, 1st Linux will enable USB device. But no-one disable it. So re-started Linux will get interrupt before USB driver is attached. This patch disable USB device at first Signed-off-by: Kuninori Morimoto --- .../mach-ecovec24/mach/partner-jet-setup.txt | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/arch/sh/include/mach-ecovec24/mach/partner-jet-setup.txt b/arch/sh/include/mach-ecovec24/mach/partner-jet-setup.txt index ae805ba..8b8e4fa 100644 --- a/arch/sh/include/mach-ecovec24/mach/partner-jet-setup.txt +++ b/arch/sh/include/mach-ecovec24/mach/partner-jet-setup.txt @@ -77,3 +77,6 @@ WAIT 1 LIST "setup cache" ED 0xff00001c, 0x0000090b + +LIST "disable USB" +EW 0xA4D80000, 0x0000