From: Stefano Babic <sbabic@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] i.MX6 Solo and Dual Lite
Date: Mon, 21 Jan 2013 10:12:37 +0100 [thread overview]
Message-ID: <50FD0685.5060402@denx.de> (raw)
In-Reply-To: <50FAEF7A.3090702@boundarydevices.com>
On 19/01/2013 20:09, Eric Nelson wrote:
> Or even a different memory configuration. For example, this line in the
> updated mx6q_4x_mt41j128.cfg file sets a value of 0x831A0000 to the
> MMDC_MDCTL register for Quad/Dual or Dual-Lite devices, but a value
> of 0x83190000 on Solo-Lite.
Right - this is not strictly related to i.MX6, and we have also in the
past, for example when different revisions of the same board have
different memory chips, and different cfg files were used.
> In English, this sets up a 64-bit memory bus except on Solo-Lite.
> Since designs like ours do allow the use of a 32-bit bus on a
> Quad Core machine, trying to represent all of the choices in
> a single file doesn't scale.
>
> WRITE_ENTRY3(MMDC_P0 + MMDC_MDCTL, 0x831A0000, 0x831A0000, 0x83190000)
>
Right
>> The concept here is that the processors use a different internal base
>> address, and depending on this address, the macro does its work, writing
>> on the selected address. But again, IMHO it is tricky, and it is
>> strictly bound to i.MX6 when imximage is thought for all i.MX processors.
>>
>> Let's say, instead of it, I prefer the solution using the preprocessor
>> or as you suggest, using different .cfg files for the memory
>> configurations.
>>
>
> Yep. We'll proceed with the separate file approach.
Nice, I will wait for your patches !
Best regards,
Stefano Babic
--
=====================================================================
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================
prev parent reply other threads:[~2013-01-21 9:12 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-01-16 22:33 [U-Boot] i.MX6 Solo and Dual Lite Eric Nelson
2013-01-18 13:55 ` Stefano Babic
2013-01-19 19:09 ` Eric Nelson
2013-01-21 9:12 ` Stefano Babic [this message]
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=50FD0685.5060402@denx.de \
--to=sbabic@denx.de \
--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