From patchwork Thu Feb 9 07:00:26 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Uri Mashiach X-Patchwork-Id: 725970 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from theia.denx.de (theia.denx.de [85.214.87.163]) by ozlabs.org (Postfix) with ESMTP id 3vJprh0v1Dz9s6n for ; Thu, 9 Feb 2017 18:01:07 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=fail reason="key not found in DNS" (0-bit key; unprotected) header.d=compulab.co.il header.i=@compulab.co.il header.b="Pl2n7Qno"; dkim-atps=neutral Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 56CAE4B646; Thu, 9 Feb 2017 08:01:02 +0100 (CET) Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Ao1S8XE1cCzX; Thu, 9 Feb 2017 08:01:02 +0100 (CET) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 8F81A4B642; Thu, 9 Feb 2017 08:01:01 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id B5EDE4B642 for ; Thu, 9 Feb 2017 08:00:58 +0100 (CET) Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id kFkXcu3GT_Hv for ; Thu, 9 Feb 2017 08:00:58 +0100 (CET) X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 (only DNSBL check requested) Received: from compulab.co.il (softlayer.compulab.co.il [50.23.254.55]) by theia.denx.de (Postfix) with ESMTPS id 3EE254B63F for ; Thu, 9 Feb 2017 08:00:54 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=compulab.co.il; s=default; h=Message-Id:Date:Subject:Cc:To:From:Sender: Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=FqtvL/6+dIVTel3D4qllblGlCFKQC+4bgUxF0G4Ejl8=; b=Pl2n7QnoVITn0lTStXAQS3ni9f llKs/rQdPwtTt+ZJxkVoCZE6kNPmlx5I/ZHOmS3QZXIrLG6CiG8L5x35xaOGcovIvwU7hrTQ52czQ 7jq52rYHwYSZRsnZlcj4CqVBXpljyZ6MXtj/u0lvWUvviBqlBUlIxfnAu5rOKN1TJFbBJ9PcZJaWU mgYk5qInHjJ/p7rYPrQljxgVZKa0GSaIcG0lINKap/FIkzMSOXxGKsgrqsjjucF9PkUdIpZDHTqce ixRMMxYusJLikYiamoNQuhlGb+LlIbUTma4Vd3j6x1owAjIk84w/vwblrs8wXtwOzT54Ce427OQ/V podiPovQ==; Received: from [62.90.235.247] (port=34039 helo=zimbra-mta.compulab.co.il) by softlayer.compulab.co.il with esmtp (Exim 4.87) (envelope-from ) id 1cbiiq-0004hg-M5; Thu, 09 Feb 2017 09:00:52 +0200 Received: from localhost (localhost [127.0.0.1]) by zimbra-mta.compulab.co.il (Postfix) with ESMTP id CC71D4827D9; Thu, 9 Feb 2017 09:00:51 +0200 (IST) Received: from zimbra-mta.compulab.co.il ([127.0.0.1]) by localhost (zimbra-mta.compulab.co.il [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id rvM6wHoXqTlo; Thu, 9 Feb 2017 09:00:50 +0200 (IST) Received: from localhost (localhost [127.0.0.1]) by zimbra-mta.compulab.co.il (Postfix) with ESMTP id 8B6484827D8; Thu, 9 Feb 2017 09:00:50 +0200 (IST) X-Virus-Scanned: amavisd-new at zimbra-mta.compulab.co.il Received: from zimbra-mta.compulab.co.il ([127.0.0.1]) by localhost (zimbra-mta.compulab.co.il [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id d2k4FYe5DHLv; Thu, 9 Feb 2017 09:00:50 +0200 (IST) Received: from urim-desk.compulab.local (uri-ipc.compulab.local [192.168.11.218]) by zimbra-mta.compulab.co.il (Postfix) with ESMTP id 6B0394827CB; Thu, 9 Feb 2017 09:00:50 +0200 (IST) From: Uri Mashiach To: Tom Rini Date: Thu, 9 Feb 2017 09:00:26 +0200 Message-Id: <1486623626-16061-1-git-send-email-uri.mashiach@compulab.co.il> X-Mailer: git-send-email 2.7.4 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - softlayer.compulab.co.il X-AntiAbuse: Original Domain - lists.denx.de X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - compulab.co.il X-Get-Message-Sender-Via: softlayer.compulab.co.il: acl_c_recent_authed_mail_ips_text_entry: uri.mashiach@compulab.co.il|compulab.co.il X-Authenticated-Sender: softlayer.compulab.co.il: uri.mashiach@compulab.co.il Cc: u-boot@lists.denx.de Subject: [U-Boot] [PATCH 1/6] arm: am57xx: cl-som-am57x: fix XHCI registers base address X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.15 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" The following XHCI registers base address are set to OMAP5 values: OMAP_XHCI_BASE, OMAP_OCP1_SCP_BASE, OMAP_OTG_WRAPPER_BASE Captured crash for "usb start" command: ----------------------------------cut---------------------------------- => usb start starting USB... USB0: data abort pc : [] lr : [] reloc pc : [<8081cd22>] lr : [<8081cb63>] sp : fdf42d08 ip : fff9e040 fp : fdf42d50 r10: fff8a998 r9 : fdf42ef0 r8 : 00000000 r7 : fdf42d28 r6 : fdf42d2c r5 : fffa5c00 r4 : 00000000 r3 : 4a020000 r2 : 00000000 r1 : fdf42e78 r0 : fffa5c00 Flags: nzCv IRQs off FIQs off Mode SVC_32 Resetting CPU ... resetting ... ----------------------------------cut---------------------------------- Fix by adding the CL-SOM-AM57x target to the XHCI registers base address ifdef'ery. A better fix should be based on a SOC family defines (currently missing). Signed-off-by: Uri Mashiach --- include/linux/usb/xhci-omap.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/usb/xhci-omap.h b/include/linux/usb/xhci-omap.h index 9de80d7..89665a0 100644 --- a/include/linux/usb/xhci-omap.h +++ b/include/linux/usb/xhci-omap.h @@ -14,7 +14,7 @@ #define OMAP_XHCI_BASE 0x488d0000 #define OMAP_OCP1_SCP_BASE 0x4A081000 #define OMAP_OTG_WRAPPER_BASE 0x488c0000 -#elif defined CONFIG_TARGET_AM57XX_EVM +#elif defined(CONFIG_TARGET_AM57XX_EVM) || defined(CONFIG_TARGET_CL_SOM_AM57X) #define OMAP_XHCI_BASE 0x48890000 #define OMAP_OCP1_SCP_BASE 0x4A084c00 #define OMAP_OTG_WRAPPER_BASE 0x48880000