From: Wolfgang Denk Date: Thu, 12 May 2011 23:49:40 +0200 Subject: [U-Boot] [PATCH v2] Decreases code size of the nand_spl In-Reply-To: <4DC1A7F1.7000001@dawning.com> References: <4DC15037.70109@dawning.com> <201105041547.27960.sr@denx.de> <20110504124645.3d203b1d@schlenkerla.am.freescale.net> <4DC199CF.7010504@dawning.com> <20110504134354.3c0472ff@schlenkerla.am.freescale.net> <4DC1A7F1.7000001@dawning.com> Message-ID: <20110512214940.306C4D6F24F@gemini.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 Dear Scott, In message <4DC1A7F1.7000001@dawning.com> Alex Waterman wrote: > This patch decreases the code size of the nand_spl by turning multiple function > pointer dereferences in a single function into a single local function pointer. > > Signed-off-by: Alex Waterman > Cc: Scott Wood > Cc: Stefan Roese > --- > This works on my local board but I haven't tested it on anything else since I > do not have access to any other hardware. I did make sure the canyonlands board > still builds. > > nand_spl/nand_boot.c | 50 ++++++++++++++++++++++++++++---------------------- > 1 files changed, 28 insertions(+), 22 deletions(-) Can this patch go in, please? I would like to see the build problems fixed. Stefan, eventually you want to add your Tested-by: and/or Acked-by: ? Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de I think it's a new feature. Don't tell anyone it was an accident. :-) -- Larry Wall on s/foo/bar/eieio in <10911@jpl-devvax.JPL.NASA.GOV>