From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefano Babic Date: Sun, 30 Sep 2012 14:49:51 +0200 Subject: [U-Boot] [PATCH v2 2/4] mx5: Optimize lowlevel_init code size In-Reply-To: <1558465107.2404121.1344957552151.JavaMail.root@advansee.com> References: <1558465107.2404121.1344957552151.JavaMail.root@advansee.com> Message-ID: <50683FEF.8070001@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 14/08/2012 17:19, Beno?t Th?baudeau wrote: > Optimize mx5 lowlevel_init.S code size: > - Compute values at compile time rather than at runtime where possible. > - Assign r4 to hold the zero value rather than setting registers to 0 again and > again. > - Associate a function to setup_pll rather than expanding its large macro code > multiple times. > - Allocate constant values in section only if used. > > Signed-off-by: Beno?t Th?baudeau > Cc: Stefano Babic > --- 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 =====================================================================