From: Tom Rini <trini@ti.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] am33xx: Stop modifying certain EMIF4D registers
Date: Thu, 7 Nov 2013 16:16:40 -0500 [thread overview]
Message-ID: <527C0338.60706@ti.com> (raw)
In-Reply-To: <CANacCWxRDgxM3QO0nebGtyUvkRjB97BGYnEj8MWSgFcCm74Jgg@mail.gmail.com>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 11/07/2013 04:12 PM, Vaibhav Bedia wrote:
> Hi Tom,
>
> On Thu, Nov 7, 2013 at 11:42 AM, Tom Rini <trini@ti.com> wrote:
>> Based on the definitive guide to EMIF configuration[1] certain registers
>> that we have been modifying (and are documented registers) should be
>> left in their reset values rather than modified. This has been tested
>> on AM335x GP EVM and Beaglebone White.
>>
>
> [...]
[snip]
>> @@ -198,11 +188,6 @@ void sdram_init(void)
>> config_dmm(&evm_lisa_map_regs);
>>
>> #ifdef CONFIG_TI816X_EVM_DDR2
>> - ddr2_data.datadldiff0 = (get_cpu_rev() == 0x1 ? 0x0 : 0xF);
>> - ddr2_ctrl.cmd0dldiff = (get_cpu_rev() == 0x1 ? 0x0 : 0xF);
>> - ddr2_ctrl.cmd1dldiff = (get_cpu_rev() == 0x1 ? 0x0 : 0xF);
>> - ddr2_ctrl.cmd2dldiff = (get_cpu_rev() == 0x1 ? 0x0 : 0xF);
>> -
>> if (CONFIG_TI816X_USE_EMIF0) {
>> ddr2_emif0_regs.emif_ddr_phy_ctlr_1 =
>> (get_cpu_rev() == 0x1 ? 0x0000010B : 0x0000030B);
>> @@ -217,8 +202,6 @@ void sdram_init(void)
>> #endif
>>
>> #ifdef CONFIG_TI816X_EVM_DDR3
>> - ddr3_data.datadldiff0 = (get_cpu_rev() == 0x1 ? 0x0 : 0xF);
>> -
>
> From a quick glance it looks like at least earlier variants of TI81xx
> used these registers to work around some bugs? This might end up
> breaking those. Note that TI81xx DDR frequencies are much higher
> compared to AM335x so issues related to this might not show up
> right now.
It's an open question on if TI81xx needs these set or was simply also
setting them for historical reasons (and in turn was inherited by am335x).
- --
Tom
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
iQIcBAEBAgAGBQJSfAM3AAoJENk4IS6UOR1WjYsP/2pTuP2Mufp7jRjgM4NVA56F
AL5H2e/mOmgn9qP67fkg4zk+LB+OvWAJOrilTNvx21hJUoSUwRTi8kTtT88o91FG
nPZlE0RMwZrVLR+paW96TfX8//9OVuCun9vqYvmCBpR4UYNQZHDr4KsxkLORqV+m
zNG6rTOSL8lGy9YsBWz0pcMvj6IxyrhXxkSJvD2h0xaApvC8Tdes3erqJlVXaJKs
sqcSv9cgE2mthQxzI7pemALxY4R9O3LcXCuB7Ad+vRgqlxR/SO5ON9zWRqLQNH7x
SM6ZtPO6yNT3eEqOxS6jyYGmanlgtsNBhrcz8fNtrnzbF9by6mCPvXMvPy36uTpR
gplwMOgxfsKQn6xosMdwj/5U8sQwadXTb1vvD2Dunmz4JEPE7IUsHbSLiXEz47QK
41x3zAb1yTk2Ku+zbhloD5osMtMlyekTqImAXviDP/v0vgXO5kRhbBEllAMtSBtP
yrXbNhH6r1ZyZmWdbvhp62DYflvEs37i9Miv/Zu6m2p8gI5IndzvmUxLc3h5jRAv
eIqpw+DYQlJx1s0P2s9IjmKDFlgTSyPYcjWL9jk5GKd2b2D+hLYoDfhsKMeNSqZm
Mym5cHlQCgYVqs+KE12GJ4pD3PA1gHXFd39I/z9ML4ZbDbXiirsZh2Ikpg2Tdk6j
YZzCdrrXxGBd2/Wi7mNd
=XIox
-----END PGP SIGNATURE-----
next prev parent reply other threads:[~2013-11-07 21:16 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-11-07 16:42 [U-Boot] [PATCH] am33xx: Stop modifying certain EMIF4D registers Tom Rini
2013-11-07 21:12 ` Vaibhav Bedia
2013-11-07 21:16 ` Tom Rini [this message]
2013-11-07 21:24 ` Matt Porter
2013-11-18 20:44 ` Vaibhav Bedia
2013-11-15 18:04 ` Matt Porter
2013-12-04 22:03 ` [U-Boot] " 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=527C0338.60706@ti.com \
--to=trini@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.