Re: [U-Boot] [PATCH] Decreases code size of the nand_spl

2011-05-13 Thread Scott Wood
On Wed, May 04, 2011 at 09:10:15AM -0400, Alex Waterman wrote: > From b59f1e5b0bc3684615756c12fd5c5f9fcaa4c812 Mon Sep 17 00:00:00 2001 > From: Alex Waterman > Date: Tue, 3 May 2011 15:00:23 -0400 > Subject: [PATCH] Decreases code size of the nand_spl > > The canyonland boards nand_spl size is ju

Re: [U-Boot] [PATCH] Decreases code size of the nand_spl

2011-05-04 Thread Scott Wood
On Wed, 4 May 2011 14:24:15 -0400 Alex Waterman wrote: > > Scott, > > > Or we could apply both and save even more space, delaying the next time we > > run into trouble. :-) > > Since the spl is so limited in space, would it be worth making every function > in the spl use a local function point

Re: [U-Boot] [PATCH] Decreases code size of the nand_spl

2011-05-04 Thread Alex Waterman
Scott, > Or we could apply both and save even more space, delaying the next time we > run into trouble. :-) Since the spl is so limited in space, would it be worth making every function in the spl use a local function pointer instead of lots of dereferences? - Alex

Re: [U-Boot] [PATCH] Decreases code size of the nand_spl

2011-05-04 Thread Scott Wood
On Wed, 4 May 2011 15:47:27 +0200 Stefan Roese wrote: > Hi Alex, > > On Wednesday 04 May 2011 15:10:15 Alex Waterman wrote: > > From b59f1e5b0bc3684615756c12fd5c5f9fcaa4c812 Mon Sep 17 00:00:00 2001 > > From: Alex Waterman > > Date: Tue, 3 May 2011 15:00:23 -0400 > > Subject: [PATCH] Decreases

Re: [U-Boot] [PATCH] Decreases code size of the nand_spl

2011-05-04 Thread Alex Waterman
Stefan, > The 2nd patch fixes the size problem as well. So no need for your patch any > more. Ahh, I saw the first but missed the second I guess. > BTW: What platform/SoC are you using? I am using a custom board based on the AMCC sequoia board. At some point I plan to try and mainline our po

Re: [U-Boot] [PATCH] Decreases code size of the nand_spl

2011-05-04 Thread Stefan Roese
Hi Alex, On Wednesday 04 May 2011 15:10:15 Alex Waterman wrote: > From b59f1e5b0bc3684615756c12fd5c5f9fcaa4c812 Mon Sep 17 00:00:00 2001 > From: Alex Waterman > Date: Tue, 3 May 2011 15:00:23 -0400 > Subject: [PATCH] Decreases code size of the nand_spl > > The canyonland boards nand_spl size is

[U-Boot] [PATCH] Decreases code size of the nand_spl

2011-05-04 Thread Alex Waterman
>From b59f1e5b0bc3684615756c12fd5c5f9fcaa4c812 Mon Sep 17 00:00:00 2001 From: Alex Waterman Date: Tue, 3 May 2011 15:00:23 -0400 Subject: [PATCH] Decreases code size of the nand_spl The canyonland boards nand_spl size is just under the maximum 4KByte size. This patch decreases the size of the nan