From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefano Babic Date: Tue, 02 Oct 2012 10:31:44 +0200 Subject: [U-Boot] [PATCH v3] mx25: Clean up lowlevel_init In-Reply-To: <1467745285.2610480.1345489257388.JavaMail.root@advansee.com> References: <1467745285.2610480.1345489257388.JavaMail.root@advansee.com> Message-ID: <506AA670.5060202@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 20/08/2012 21:00, Beno?t Th?baudeau wrote: > Clean up mx25 lowlevel_init: > - Add comments. > - Do not use write32 repeatedly with the same value in order not to increase > code size. > - Make register values configurable. > - Use macro parameters with default values instead of literal constants. > - Use defined macros instead of duplicating code. > > Signed-off-by: Beno?t Th?baudeau > Cc: Stefano Babic > Cc: John Rigby > Cc: Matthias Weisser > --- Applied to u-boot-imx, next branch, 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 =====================================================================