From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefano Babic Date: Mon, 27 Aug 2012 08:16:52 +0200 Subject: [U-Boot] [PATCH 2/4] efikamx: remove drive strength function and roll its functionality into the DCD In-Reply-To: <1345663541-26682-2-git-send-email-matt@genesi-usa.com> References: <1345663541-26682-1-git-send-email-matt@genesi-usa.com> <1345663541-26682-2-git-send-email-matt@genesi-usa.com> Message-ID: <503B10D4.3030609@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 22/08/2012 21:25, Matt Sealey wrote: > Efika MX boards configure their DDR pad settings twice, one in the DCD generated > from imximage_*.cfg and again in init_drive_strength called before relocation. > > Rather than doing this, roll the changes it makes into the DCD so DDR is set up > before a single line of code in U-Boot is run. > > The settings are identical with this DCD block which is shorter (by 7 entries) > than the old one, and after the output of init_drive_strength since a lot of the > functionality in the existing DCD and init_drive_strength function was just > setting the POR defaults. This goes to explain some now-missing entries. > > Several hundred rounds of mtest have been run to test the settings before and > after to confirm DDR is stable and no ill-effects have been found. > > Signed-off-by: Matt Sealey > --- > board/genesi/mx51_efikamx/efikamx.c | 77 ----------------------------- > board/genesi/mx51_efikamx/imximage_mx.cfg | 42 +++++++--------- > 2 files changed, 18 insertions(+), 101 deletions(-) > Applied to u-boot-imx, thanks. 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 =====================================================================