[U-Boot] [PATCH] nand/spl: Assuming a static nand page size to reduce code size

2011-04-05 Thread Matthew McClintock
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 m...@freescale.com cc: Scott Wood scottw...@freescale.com --- With this change we can reduce the size of the nand_spl by

Re: [U-Boot] [PATCH] nand/spl: Assuming a static nand page size to reduce code size

2011-04-05 Thread Scott Wood
On Tue, Apr 05, 2011 at 10:30:45AM -0500, 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 m...@freescale.com cc: Scott Wood

Re: [U-Boot] [PATCH] nand/spl: Assuming a static nand page size to reduce code size

2011-04-05 Thread McClintock Matthew-B29882
On Tue, Apr 5, 2011 at 1:48 PM, Scott Wood scottw...@freescale.com wrote: When building for MPC8315ERDB_NAND, I get: nand_boot_fsl_elbc.c: In function 'nand_load': nand_boot_fsl_elbc.c:54:20: error: 'CONFIG_NAND_OR_PRELIM' undeclared (first use in this function) nand_boot_fsl_elbc.c:54:20:

Re: [U-Boot] [PATCH] nand/spl: Assuming a static nand page size to reduce code size

2011-04-05 Thread Scott Wood
On Tue, 5 Apr 2011 14:00:23 -0500 McClintock Matthew-B29882 b29...@freescale.com wrote: On Tue, Apr 5, 2011 at 1:48 PM, Scott Wood scottw...@freescale.com wrote: When building for MPC8315ERDB_NAND, I get: nand_boot_fsl_elbc.c: In function 'nand_load': nand_boot_fsl_elbc.c:54:20: error: