From: Igor Grinberg <grinberg@compulab.co.il>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] overo: add SPL support
Date: Tue, 20 Dec 2011 14:20:02 +0200 [thread overview]
Message-ID: <4EF07D72.4090906@compulab.co.il> (raw)
In-Reply-To: <201112201253.46991.schnitzeltony@gmx.de>
Hi Andreas,
On 12/20/11 13:53, Andreas M?ller wrote:
> On Tuesday, December 20, 2011 12:41:08 PM you wrote:
>> Dear Tom Rini,
>>
>> In message <CA+M6bXn_ZBqA8rosE4L4O+4Eu+grAhWgCZ=u=2Nomb6WcyL6-
> w at mail.gmail.com> you wrote:
>>>> I guess you really, really must use i2c before relocation? =A0If
>>>> possible, this should be avoided in the first place.
>>>
>>> Yes, board rev detection to know how to configure SDRAM.
>>
>> I don't consider this a valid reason (reading the SPD EEPROM would be
>> such a reason). In almost all other cases it should be suffucient to
>> configure the maximum number of memory banks and the maximum size of
>> the memory banks and then use get_ram_size() to determine the actual
>> amount of memory and to correctly initialize the memory controller.
>>
>> Note that I don't insist on any changes to existing code here. This
>> is just a recommendation which you may (or may not) consider for any
>> future ports / implementations.
>>
>>
> Dear Wolfgang Denk,
>
> I agree to your concerns but - as I understood Steve Sakoman - here the
> situation is slightly different:
> At elder overo boards TWL4030 RTC irq is connected to gpio112. Unfortunately
> this pin is also used for binary revision detection. Therefore we need to send
> 'shut-up' to TWL4030 via i2c to avoid reading wrong revision. In SPL this must
> be done *before* SDRAM (timing) is set up, because the type of SDRAM is
> revision dependent.
What about forging some very not optimized default DRAM settings,
that suit any assembled DRAM and then when you have I2C access,
reconfigure it - is it possible?
--
Regards,
Igor.
next prev parent reply other threads:[~2011-12-20 12:20 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-12-15 14:34 [U-Boot] [PATCH] overo: add SPL support Andreas Müller
2011-12-15 18:32 ` Tom Rini
2011-12-15 21:12 ` Andreas Müller
2011-12-20 1:03 ` Andreas Müller
2011-12-20 1:08 ` Tom Rini
2011-12-20 1:15 ` Andreas Müller
2011-12-20 5:43 ` Wolfgang Denk
2011-12-20 5:45 ` Tom Rini
2011-12-20 11:41 ` Wolfgang Denk
2011-12-20 11:53 ` Andreas Müller
2011-12-20 12:06 ` Wolfgang Denk
2011-12-20 12:39 ` Andreas Müller
2011-12-20 16:36 ` Aneesh V
2011-12-20 21:17 ` Wolfgang Denk
2011-12-20 12:20 ` Igor Grinberg [this message]
2011-12-20 13:55 ` Steve Sakoman
2011-12-21 1:00 ` Andreas Müller
-- strict thread matches above, loose matches on Subject: below --
2011-12-14 16:27 Andreas Müller
2011-12-14 17:24 ` Steve Sakoman
2011-12-14 23:00 ` Andreas Müller
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=4EF07D72.4090906@compulab.co.il \
--to=grinberg@compulab.co.il \
--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