Re: [U-Boot] [PATCH 6/6] nand_spl: change out_be32 to raw_writel and depend on subsequent sync

2012-08-20 Thread Scott Wood
On 08/20/2012 11:11 AM, Andy Fleming wrote:
> I'm ok if you take them. I should be doing a push today, so either way works 
> for me.

If you're doing one today, go ahead and take them:

Acked-by: Scott Wood 

-Scott


___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


Re: [U-Boot] [PATCH 6/6] nand_spl: change out_be32 to raw_writel and depend on subsequent sync

2012-08-20 Thread Andy Fleming
I'm ok if you take them. I should be doing a push today, so either way works 
for me.

On Aug 18, 2012, at 2:05 PM, Scott Wood wrote:

> On 08/13/2012 06:23 PM, Scott Wood wrote:
>> On 08/13/2012 01:10 PM, Matthew McClintock wrote:
>>> This change reduces the SPL size by removing the redundant syncs produced
>>> by out_be32 and just replies on one final sync
>>> 
>>> Done with:
>>> 
>>> sed -r '/in_be32/b; s/(out_be32)\(([^,]*),\s+(.*)\)/__raw_writel(\3, \2)/g' 
>>> -i `git grep --name-only sdram_init nand_spl/`
>>> 
>>> Signed-off-by: Matthew McClintock 
>>> ---
>>> nand_spl/board/freescale/p1010rdb/nand_boot.c |   54 
>>> ++---
>>> nand_spl/board/freescale/p1023rds/nand_boot.c |   42 
>>> nand_spl/board/freescale/p1_p2_rdb_pc/nand_boot.c |   48 +-
>>> 3 files changed, 71 insertions(+), 73 deletions(-)
>> 
>> This should come first if the other patches break without it, to
>> preserve bisectability.
>> 
>> Note that I'm going to try to convert this stuff (at least one board as
>> an example, but hopefully it should be easy enough to do additional
>> boards once the first is done) to the new spl Really Soon Now(tm), so it
>> doesn't make much sense to fiddle around with the old stuff right now
>> unless I miss the merge window.  I'll incorporate these changes into the
>> new-spl version.  I may do that by applying these patches first, but I'd
>> rather they not go via the mpc85xx tree (and please CC me on NAND patches).
> 
> I'm not going to have this working by the end of the merge window, so
> these patches can go in as is.  Andy, do you want to take them or should I?
> 
> -Scott
> 


___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


Re: [U-Boot] [PATCH 6/6] nand_spl: change out_be32 to raw_writel and depend on subsequent sync

2012-08-18 Thread Scott Wood
On 08/13/2012 06:23 PM, Scott Wood wrote:
> On 08/13/2012 01:10 PM, Matthew McClintock wrote:
>> This change reduces the SPL size by removing the redundant syncs produced
>> by out_be32 and just replies on one final sync
>>
>> Done with:
>>
>> sed -r '/in_be32/b; s/(out_be32)\(([^,]*),\s+(.*)\)/__raw_writel(\3, \2)/g' 
>> -i `git grep --name-only sdram_init nand_spl/`
>>
>> Signed-off-by: Matthew McClintock 
>> ---
>>  nand_spl/board/freescale/p1010rdb/nand_boot.c |   54 
>> ++---
>>  nand_spl/board/freescale/p1023rds/nand_boot.c |   42 
>>  nand_spl/board/freescale/p1_p2_rdb_pc/nand_boot.c |   48 +-
>>  3 files changed, 71 insertions(+), 73 deletions(-)
> 
> This should come first if the other patches break without it, to
> preserve bisectability.
> 
> Note that I'm going to try to convert this stuff (at least one board as
> an example, but hopefully it should be easy enough to do additional
> boards once the first is done) to the new spl Really Soon Now(tm), so it
> doesn't make much sense to fiddle around with the old stuff right now
> unless I miss the merge window.  I'll incorporate these changes into the
> new-spl version.  I may do that by applying these patches first, but I'd
> rather they not go via the mpc85xx tree (and please CC me on NAND patches).

I'm not going to have this working by the end of the merge window, so
these patches can go in as is.  Andy, do you want to take them or should I?

-Scott


___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


Re: [U-Boot] [PATCH 6/6] nand_spl: change out_be32 to raw_writel and depend on subsequent sync

2012-08-13 Thread McClintock Matthew-B29882
On Mon, Aug 13, 2012 at 6:34 PM, Scott Wood  wrote:
> On 08/13/2012 06:31 PM, McClintock Matthew-B29882 wrote:
>> On Mon, Aug 13, 2012 at 6:23 PM, Scott Wood  wrote:
>>> On 08/13/2012 01:10 PM, Matthew McClintock wrote:
 This change reduces the SPL size by removing the redundant syncs produced
 by out_be32 and just replies on one final sync

 Done with:

 sed -r '/in_be32/b; s/(out_be32)\(([^,]*),\s+(.*)\)/__raw_writel(\3, 
 \2)/g' -i `git grep --name-only sdram_init nand_spl/`

 Signed-off-by: Matthew McClintock 
 ---
  nand_spl/board/freescale/p1010rdb/nand_boot.c |   54 
 ++---
  nand_spl/board/freescale/p1023rds/nand_boot.c |   42 
  nand_spl/board/freescale/p1_p2_rdb_pc/nand_boot.c |   48 
 +-
  3 files changed, 71 insertions(+), 73 deletions(-)
>>>
>>> This should come first if the other patches break without it, to
>>> preserve bisectability.
>>
>> I think they all work on at least some compilers not that that's
>> extremely helpful.
>
> Was this patch meant to free up room for the other patches, or was it
> just bundled in because it's touching the same code?

I believe I was tasked with fixing builds on our newer toolchains (or
was it older toolchains?) since some combinations ran out of space.
The exact reasoning escapes me, also why did it last a well...

I can reorder them if you would like...

-M
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


Re: [U-Boot] [PATCH 6/6] nand_spl: change out_be32 to raw_writel and depend on subsequent sync

2012-08-13 Thread Scott Wood
On 08/13/2012 06:31 PM, McClintock Matthew-B29882 wrote:
> On Mon, Aug 13, 2012 at 6:23 PM, Scott Wood  wrote:
>> On 08/13/2012 01:10 PM, Matthew McClintock wrote:
>>> This change reduces the SPL size by removing the redundant syncs produced
>>> by out_be32 and just replies on one final sync
>>>
>>> Done with:
>>>
>>> sed -r '/in_be32/b; s/(out_be32)\(([^,]*),\s+(.*)\)/__raw_writel(\3, \2)/g' 
>>> -i `git grep --name-only sdram_init nand_spl/`
>>>
>>> Signed-off-by: Matthew McClintock 
>>> ---
>>>  nand_spl/board/freescale/p1010rdb/nand_boot.c |   54 
>>> ++---
>>>  nand_spl/board/freescale/p1023rds/nand_boot.c |   42 
>>>  nand_spl/board/freescale/p1_p2_rdb_pc/nand_boot.c |   48 +-
>>>  3 files changed, 71 insertions(+), 73 deletions(-)
>>
>> This should come first if the other patches break without it, to
>> preserve bisectability.
> 
> I think they all work on at least some compilers not that that's
> extremely helpful.

Was this patch meant to free up room for the other patches, or was it
just bundled in because it's touching the same code?

-Scott


___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


Re: [U-Boot] [PATCH 6/6] nand_spl: change out_be32 to raw_writel and depend on subsequent sync

2012-08-13 Thread McClintock Matthew-B29882
On Mon, Aug 13, 2012 at 6:23 PM, Scott Wood  wrote:
> On 08/13/2012 01:10 PM, Matthew McClintock wrote:
>> This change reduces the SPL size by removing the redundant syncs produced
>> by out_be32 and just replies on one final sync
>>
>> Done with:
>>
>> sed -r '/in_be32/b; s/(out_be32)\(([^,]*),\s+(.*)\)/__raw_writel(\3, \2)/g' 
>> -i `git grep --name-only sdram_init nand_spl/`
>>
>> Signed-off-by: Matthew McClintock 
>> ---
>>  nand_spl/board/freescale/p1010rdb/nand_boot.c |   54 
>> ++---
>>  nand_spl/board/freescale/p1023rds/nand_boot.c |   42 
>>  nand_spl/board/freescale/p1_p2_rdb_pc/nand_boot.c |   48 +-
>>  3 files changed, 71 insertions(+), 73 deletions(-)
>
> This should come first if the other patches break without it, to
> preserve bisectability.

I think they all work on at least some compilers not that that's
extremely helpful.

-M

>
> Note that I'm going to try to convert this stuff (at least one board as
> an example, but hopefully it should be easy enough to do additional
> boards once the first is done) to the new spl Really Soon Now(tm), so it
> doesn't make much sense to fiddle around with the old stuff right now
> unless I miss the merge window.  I'll incorporate these changes into the
> new-spl version.  I may do that by applying these patches first, but I'd
> rather they not go via the mpc85xx tree (and please CC me on NAND patches).
>
> -Scott
>
>
> ___
> U-Boot mailing list
> U-Boot@lists.denx.de
> http://lists.denx.de/mailman/listinfo/u-boot
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


Re: [U-Boot] [PATCH 6/6] nand_spl: change out_be32 to raw_writel and depend on subsequent sync

2012-08-13 Thread Scott Wood
On 08/13/2012 01:10 PM, Matthew McClintock wrote:
> This change reduces the SPL size by removing the redundant syncs produced
> by out_be32 and just replies on one final sync
> 
> Done with:
> 
> sed -r '/in_be32/b; s/(out_be32)\(([^,]*),\s+(.*)\)/__raw_writel(\3, \2)/g' 
> -i `git grep --name-only sdram_init nand_spl/`
> 
> Signed-off-by: Matthew McClintock 
> ---
>  nand_spl/board/freescale/p1010rdb/nand_boot.c |   54 
> ++---
>  nand_spl/board/freescale/p1023rds/nand_boot.c |   42 
>  nand_spl/board/freescale/p1_p2_rdb_pc/nand_boot.c |   48 +-
>  3 files changed, 71 insertions(+), 73 deletions(-)

This should come first if the other patches break without it, to
preserve bisectability.

Note that I'm going to try to convert this stuff (at least one board as
an example, but hopefully it should be easy enough to do additional
boards once the first is done) to the new spl Really Soon Now(tm), so it
doesn't make much sense to fiddle around with the old stuff right now
unless I miss the merge window.  I'll incorporate these changes into the
new-spl version.  I may do that by applying these patches first, but I'd
rather they not go via the mpc85xx tree (and please CC me on NAND patches).

-Scott


___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot