From: Scott Wood Date: Mon, 11 Apr 2011 11:36:21 -0500 Subject: [U-Boot] [PATCH v1 2/2] nand/spl: Assuming a static nand page size to reduce code size In-Reply-To: References: <20110405140350.37fb9928@schlenkerla.am.freescale.net> <1302032374-28857-1-git-send-email-msm@freescale.com> <1302032374-28857-2-git-send-email-msm@freescale.com> Message-ID: <20110411113621.3d930bef@schlenkerla.am.freescale.net> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Sat, 9 Apr 2011 10:53:34 -0500 Kumar Gala wrote: > > On Apr 5, 2011, at 2:39 PM, Matthew McClintock wrote: > > > Change variables to const to reduce code size, these values are > > hardcoded via defines anyways so we might as well assume they > > are constants > > > > Signed-off-by: Matthew McClintock > > cc: Scott Wood > > --- > > With this change we can reduce the size of the nand_spl by > > 148 bytes with my particular board/compiler > > > > v1: Add prior patch to correct naming of CONFIG_SYS_NAND_*_PRELIM > > > > nand_spl/nand_boot_fsl_elbc.c | 10 +++++----- > > 1 files changed, 5 insertions(+), 5 deletions(-) > > Scott, do you want this to go via nand tree or 85xx ok? if 85xx ok please ack. I'll take it. -Scott