From: Lokesh Vutla <lokeshvutla@ti.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 1/6] arm: am57xx: cl-som-am57x: fix XHCI registers base address
Date: Mon, 13 Feb 2017 17:16:21 +0530 [thread overview]
Message-ID: <dd3075b7-324b-033f-8337-eeae092cbd9b@ti.com> (raw)
In-Reply-To: <20170212154748.GQ26129@bill-the-cat>
On Sunday 12 February 2017 09:17 PM, Tom Rini wrote:
> On Sun, Feb 12, 2017 at 10:55:27AM +0200, Uri Mashiach wrote:
>> Hi Tom,
>>
>> On 02/09/2017 10:29 PM, Tom Rini wrote:
>>> On Thu, Feb 09, 2017 at 09:00:26AM +0200, Uri Mashiach wrote:
>>>
>>>> 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 : [<fff63d22>] lr : [<fff63b63>]
>>>> 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).
>>>
>>> Can you please go add the Kconfig symbols that would be the better
>>> solution please? Thanks!
>>
>> The SOC family symbol CONFIG_AM57XX was removed by the commit
>> 3891a54: "ARM: DRA7x/AM57xx: Get rid of CONFIG_AM57XX".
>> Maybe the symbol should be reintroduced just for the XHCI registers
>> section?
>
> Yes, sounds like we do have a case where DRA7xx is not the same as
> AM57xx then?
>
No that's not right. It is just DRA74x_EVM and AM57XX evm is using
different instances of XHCI. Ideally this base address should be coming
from DT. I don't think it is a good idea to introduce CONFIG_AM57XX.
Thanks and regards,
Lokesh
next prev parent reply other threads:[~2017-02-13 11:46 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-02-09 7:00 [U-Boot] [PATCH 1/6] arm: am57xx: cl-som-am57x: fix XHCI registers base address Uri Mashiach
2017-02-09 20:29 ` Tom Rini
2017-02-12 8:55 ` Uri Mashiach
2017-02-12 15:47 ` Tom Rini
2017-02-13 11:46 ` Lokesh Vutla [this message]
2017-02-13 12:12 ` Uri Mashiach
2017-02-13 12:33 ` Lokesh Vutla
2017-02-14 9:08 ` Uri Mashiach
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=dd3075b7-324b-033f-8337-eeae092cbd9b@ti.com \
--to=lokeshvutla@ti.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox