From: Tom Rini Date: Mon, 5 Jun 2017 20:13:20 -0400 Subject: [U-Boot] [U-Boot, 2/7] ti816x: Rework DDR initialization sequence In-Reply-To: <1494960400-15763-2-git-send-email-trini@konsulko.com> References: <1494960400-15763-2-git-send-email-trini@konsulko.com> Message-ID: <20170606001320.GO10782@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Tue, May 16, 2017 at 02:46:35PM -0400, Tom Rini wrote: > The ti816x/am389x SoC is the first generation in what U-Boot calls the > "am33xx" family. In the first generation of this family the DDR > initialization sequence is quite different from all of the subsequent > generations. Whereas with ti814x (second generation) we can easily work > the minor differenced between that and am33xx (third generation), our > attempts to do this for ti816x weren't sufficient. Rather than add a > large amount of #ifdef logic to make this different sequence work we add > a new file, ti816x_emif4.c to handle the various required undocumented > register writes and sequence and leverage what we can from > arch/arm/mach-omap2/am33xx/ddr.c still. As DDR2 has similar problems > today but I am unable to test it, we drop the DDR2 defines from the code > rather than imply that it works by leaving it. We also remove a bunch > of other untested code about changing the speed the DDR runs at. > > Signed-off-by: Tom Rini Applied to u-boot/master, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: