From: David Lechner <david@lechnology.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v2] davinci: Enable DDR_INIT for DA8XX
Date: Fri, 16 Mar 2018 10:32:37 -0500 [thread overview]
Message-ID: <2d22dd42-e8b8-db0c-147a-061f12eeaf37@lechnology.com> (raw)
In-Reply-To: <88c949f0-5509-557e-8cc2-cae517579c58@ti.com>
On 03/16/2018 10:26 AM, Lokesh Vutla wrote:
>
>
> On Friday 16 March 2018 08:44 PM, David Lechner wrote:
>> On 03/16/2018 03:52 AM, Lokesh Vutla wrote:
>>> Commit 6aa4ad8e3820 ("Convert CONFIG_SOC_DA8XX et al to Kconfig")
>>> converted SOC_DA8XX to Kconfig but missed enabling DDR_INIT for
>>> SOC_DA8XX, which broke OMAPL138 to boot.
>>>
>>> Commit 2e87980580d0 ("davinci: Fix omapl138_lcdk builds") disabled
>>> DDR_INIT for all DA850 SoCs. This failed all DA850 boards to boot
>>> as ddr is not being initialized.
>>>
>>> Enable SYS_DA850_DDR_INIT for DA8XX so that all DA850 and OMAPL138
>>> will have ddr initialized
>>>
>>> Fixes: 2e87980580d0 ("davinci: Fix omapl138_lcdk builds")
>>> Fixes: 6aa4ad8e3820 ("Convert CONFIG_SOC_DA8XX et al to Kconfig")
>>> Reported-by: Sekhar Nori <nsekhar@ti.com>
>>> Tested-by: Sekhar Nori <nsekhar@ti.com>
>>> Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
>>> ---
>>> Changes since v1:
>>> - Fixed the typo DRA8XX to DA8XX
>>>
>>> arch/arm/mach-davinci/Kconfig | 1 +
>>> 1 file changed, 1 insertion(+)
>>>
>>> diff --git a/arch/arm/mach-davinci/Kconfig
>>> b/arch/arm/mach-davinci/Kconfig
>>> index 30752839a3..5e7baba3fe 100644
>>> --- a/arch/arm/mach-davinci/Kconfig
>>> +++ b/arch/arm/mach-davinci/Kconfig
>>> @@ -58,6 +58,7 @@ config SOC_DA850
>>> config SOC_DA8XX
>>> bool
>>> select SYS_DA850_PLL_INIT if SUPPORT_SPL || DA850_LOWLEVEL
>>> + select SYS_DA850_DDR_INIT if SUPPORT_SPL || DA850_LOWLEVEL
>>> config MACH_DAVINCI_DA850_EVM
>>> bool
>>>
>>
>> Shouldn't
>>
>> select SYS_DA850_DDR_INIT if SUPPORT_SPL || DA850_LOWLEVEL
>>
>> be removed from config SOC_DA850?
>
> I don't see it enabled in the latest master[1] branch.
I see what you mean. I must have just been looking at the patch that
introduced the bug in the first place.
Reviewed-by: David Lechner <david@lechnology.com>
next prev parent reply other threads:[~2018-03-16 15:32 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-03-16 8:52 [U-Boot] [PATCH v2] davinci: Enable DDR_INIT for DA8XX Lokesh Vutla
2018-03-16 15:14 ` David Lechner
2018-03-16 15:26 ` Lokesh Vutla
2018-03-16 15:32 ` David Lechner [this message]
2018-03-16 17:09 ` Tom Rini
2018-03-22 20:35 ` [U-Boot] [U-Boot,v2] " Tom Rini
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=2d22dd42-e8b8-db0c-147a-061f12eeaf37@lechnology.com \
--to=david@lechnology.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