Re: [U-Boot] [PATCH] NAND: Allow nand_ids and nand_bbt to be compiled in SPL

2012-01-10 Thread Mike Frysinger
On Monday 09 January 2012 16:27:44 Scott Wood wrote: On 01/09/2012 03:21 PM, Mike Frysinger wrote: On Monday 09 January 2012 14:41:07 Scott Wood wrote: Unless/until the toolchain can properly GC anonymous strings, I think finer-grained conditional compilation is the way to go. i think

Re: [U-Boot] [PATCH] NAND: Allow nand_ids and nand_bbt to be compiled in SPL

2012-01-10 Thread Mike Frysinger
On Monday 09 January 2012 16:25:41 Tom Rini wrote: On Mon, Jan 9, 2012 at 2:23 PM, Tom Rini tom.r...@gmail.com wrote: On Mon, Jan 9, 2012 at 2:21 PM, Mike Frysinger vap...@gentoo.org wrote: On Monday 09 January 2012 14:41:07 Scott Wood wrote: Unless/until the toolchain can properly GC

Re: [U-Boot] [PATCH] NAND: Allow nand_ids and nand_bbt to be compiled in SPL

2012-01-10 Thread Tom Rini
On Tue, Jan 10, 2012 at 11:25 AM, Mike Frysinger vap...@gentoo.org wrote: On Monday 09 January 2012 16:25:41 Tom Rini wrote: On Mon, Jan 9, 2012 at 2:23 PM, Tom Rini tom.r...@gmail.com wrote: On Mon, Jan 9, 2012 at 2:21 PM, Mike Frysinger vap...@gentoo.org wrote: On Monday 09 January 2012

Re: [U-Boot] [PATCH] NAND: Allow nand_ids and nand_bbt to be compiled in SPL

2012-01-09 Thread Scott Wood
On 01/08/2012 03:56 AM, Mike Frysinger wrote: On Wednesday 04 January 2012 18:56:23 Scott Wood wrote: On 12/05/2011 05:17 PM, Marek Vasut wrote: This will be beneficial for the PXA3XX NAND driver, which uses the NAND IDs to identify the chip and configure the controller accordingly. ---

Re: [U-Boot] [PATCH] NAND: Allow nand_ids and nand_bbt to be compiled in SPL

2012-01-09 Thread Mike Frysinger
On Monday 09 January 2012 14:41:07 Scott Wood wrote: Unless/until the toolchain can properly GC anonymous strings, I think finer-grained conditional compilation is the way to go. i think we should use GC when it works (we've found 1 case so far where it doesn't), and add fine grained

Re: [U-Boot] [PATCH] NAND: Allow nand_ids and nand_bbt to be compiled in SPL

2012-01-09 Thread Tom Rini
On Mon, Jan 9, 2012 at 2:21 PM, Mike Frysinger vap...@gentoo.org wrote: On Monday 09 January 2012 14:41:07 Scott Wood wrote: Unless/until the toolchain can properly GC anonymous strings, I think finer-grained conditional compilation is the way to go. i think we should use GC when it works

Re: [U-Boot] [PATCH] NAND: Allow nand_ids and nand_bbt to be compiled in SPL

2012-01-09 Thread Tom Rini
On Mon, Jan 9, 2012 at 2:23 PM, Tom Rini tom.r...@gmail.com wrote: On Mon, Jan 9, 2012 at 2:21 PM, Mike Frysinger vap...@gentoo.org wrote: On Monday 09 January 2012 14:41:07 Scott Wood wrote: Unless/until the toolchain can properly GC anonymous strings, I think finer-grained conditional

Re: [U-Boot] [PATCH] NAND: Allow nand_ids and nand_bbt to be compiled in SPL

2012-01-09 Thread Scott Wood
On 01/09/2012 03:21 PM, Mike Frysinger wrote: On Monday 09 January 2012 14:41:07 Scott Wood wrote: Unless/until the toolchain can properly GC anonymous strings, I think finer-grained conditional compilation is the way to go. i think we should use GC when it works (we've found 1 case so far

Re: [U-Boot] [PATCH] NAND: Allow nand_ids and nand_bbt to be compiled in SPL

2012-01-08 Thread Mike Frysinger
On Wednesday 04 January 2012 18:56:23 Scott Wood wrote: On 12/05/2011 05:17 PM, Marek Vasut wrote: This will be beneficial for the PXA3XX NAND driver, which uses the NAND IDs to identify the chip and configure the controller accordingly. --- a/drivers/mtd/nand/Makefile +++

Re: [U-Boot] [PATCH] NAND: Allow nand_ids and nand_bbt to be compiled in SPL

2012-01-06 Thread Scott Wood
On 01/05/2012 06:41 PM, Tom Rini wrote: On Thu, Jan 5, 2012 at 4:04 PM, Scott Wood scottw...@freescale.com wrote: Whatever the set of things is that you want to pull in for these SPLs, it needs to be a separate config option from the one that enables libnand.o to be included, so that other

Re: [U-Boot] [PATCH] NAND: Allow nand_ids and nand_bbt to be compiled in SPL

2012-01-06 Thread Tom Rini
On Fri, Jan 6, 2012 at 12:03 PM, Scott Wood scottw...@freescale.com wrote: On 01/05/2012 06:41 PM, Tom Rini wrote: On Thu, Jan 5, 2012 at 4:04 PM, Scott Wood scottw...@freescale.com wrote: Whatever the set of things is that you want to pull in for these SPLs, it needs to be a separate config

Re: [U-Boot] [PATCH] NAND: Allow nand_ids and nand_bbt to be compiled in SPL

2012-01-06 Thread Scott Wood
On 01/06/2012 01:14 PM, Tom Rini wrote: On Fri, Jan 6, 2012 at 12:03 PM, Scott Wood scottw...@freescale.com wrote: On 01/05/2012 06:41 PM, Tom Rini wrote: On Thu, Jan 5, 2012 at 4:04 PM, Scott Wood scottw...@freescale.com wrote: Whatever the set of things is that you want to pull in for these

Re: [U-Boot] [PATCH] NAND: Allow nand_ids and nand_bbt to be compiled in SPL

2012-01-05 Thread Marek Vasut
On Wed, Jan 4, 2012 at 4:56 PM, Scott Wood scottw...@freescale.com wrote: On 12/05/2011 05:17 PM, Marek Vasut wrote: This will be beneficial for the PXA3XX NAND driver, which uses the NAND IDs to identify the chip and configure the controller accordingly. Signed-off-by: Marek Vasut

Re: [U-Boot] [PATCH] NAND: Allow nand_ids and nand_bbt to be compiled in SPL

2012-01-05 Thread Tom Rini
On Thu, Jan 5, 2012 at 2:09 AM, Marek Vasut marek.va...@gmail.com wrote: On Wed, Jan 4, 2012 at 4:56 PM, Scott Wood scottw...@freescale.com wrote: On 12/05/2011 05:17 PM, Marek Vasut wrote: This will be beneficial for the PXA3XX NAND driver, which uses the NAND IDs to identify the chip and

Re: [U-Boot] [PATCH] NAND: Allow nand_ids and nand_bbt to be compiled in SPL

2012-01-05 Thread Scott Wood
On 01/05/2012 08:15 AM, Tom Rini wrote: On Thu, Jan 5, 2012 at 2:09 AM, Marek Vasut marek.va...@gmail.com wrote: I'll confirm gc-sections/etc are not as awesome as we think. You can drop the size of current SPL builds (for say devkit8000) by taking things that should be dropped for us and

Re: [U-Boot] [PATCH] NAND: Allow nand_ids and nand_bbt to be compiled in SPL

2012-01-05 Thread Tom Rini
On Thu, Jan 5, 2012 at 4:04 PM, Scott Wood scottw...@freescale.com wrote: On 01/05/2012 08:15 AM, Tom Rini wrote: On Thu, Jan 5, 2012 at 2:09 AM, Marek Vasut marek.va...@gmail.com wrote: I'll confirm gc-sections/etc are not as awesome as we think.  You can drop the size of current SPL builds

Re: [U-Boot] [PATCH] NAND: Allow nand_ids and nand_bbt to be compiled in SPL

2012-01-04 Thread Scott Wood
On 12/05/2011 05:17 PM, Marek Vasut wrote: This will be beneficial for the PXA3XX NAND driver, which uses the NAND IDs to identify the chip and configure the controller accordingly. Signed-off-by: Marek Vasut marek.va...@gmail.com Cc: Scott Wood scottw...@freescale.com ---

Re: [U-Boot] [PATCH] NAND: Allow nand_ids and nand_bbt to be compiled in SPL

2012-01-04 Thread Tom Rini
On Wed, Jan 4, 2012 at 4:56 PM, Scott Wood scottw...@freescale.com wrote: On 12/05/2011 05:17 PM, Marek Vasut wrote: This will be beneficial for the PXA3XX NAND driver, which uses the NAND IDs to identify the chip and configure the controller accordingly. Signed-off-by: Marek Vasut