All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] ppc/85xx: make boot from NAND full relocation to RAM
@ 2009-10-20  8:58 Mingkai Hu
  2009-10-20  8:58 ` [U-Boot] [PATCH] fsl_elbc_nand: remove the bbt descriptors relocation fixup Mingkai Hu
  2009-10-20 15:30 ` [U-Boot] [PATCH] ppc/85xx: make boot from NAND full relocation to RAM Kumar Gala
  0 siblings, 2 replies; 7+ messages in thread
From: Mingkai Hu @ 2009-10-20  8:58 UTC (permalink / raw)
  To: u-boot

Take advantage of the latest full relocation commit of PPC platform
for boot from NAND.

Signed-off-by: Mingkai Hu <Mingkai.hu@freescale.com>
---

Changelog:

 - according to Scott's comments to seperate this patch.

 cpu/mpc85xx/u-boot-nand.lds |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/cpu/mpc85xx/u-boot-nand.lds b/cpu/mpc85xx/u-boot-nand.lds
index a0fc8f1..b4c63e2 100644
--- a/cpu/mpc85xx/u-boot-nand.lds
+++ b/cpu/mpc85xx/u-boot-nand.lds
@@ -58,7 +58,6 @@ SECTIONS
   .text      :
   {
     *(.text)
-    *(.fixup)
     *(.got1)
    } :text
     _etext = .;
-- 
1.6.4

^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [U-Boot] [PATCH] fsl_elbc_nand: remove the bbt descriptors relocation fixup
  2009-10-20  8:58 [U-Boot] [PATCH] ppc/85xx: make boot from NAND full relocation to RAM Mingkai Hu
@ 2009-10-20  8:58 ` Mingkai Hu
  2009-10-20 15:27   ` Kumar Gala
  2009-10-20 15:30 ` [U-Boot] [PATCH] ppc/85xx: make boot from NAND full relocation to RAM Kumar Gala
  1 sibling, 1 reply; 7+ messages in thread
From: Mingkai Hu @ 2009-10-20  8:58 UTC (permalink / raw)
  To: u-boot

The commit 66372fe2 manually relocated the bbt pattern pointer,
which can be removed by using full relocation.

Signed-off-by: Mingkai Hu <Mingkai.hu@freescale.com>
---
 drivers/mtd/nand/fsl_elbc_nand.c |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)

diff --git a/drivers/mtd/nand/fsl_elbc_nand.c b/drivers/mtd/nand/fsl_elbc_nand.c
index 50cb4aa..146e9bf 100644
--- a/drivers/mtd/nand/fsl_elbc_nand.c
+++ b/drivers/mtd/nand/fsl_elbc_nand.c
@@ -766,9 +766,6 @@ int board_nand_init(struct nand_chip *nand)
 	nand->waitfunc = fsl_elbc_wait;
 
 	/* set up nand options */
-	/* redirect the pointer of bbt pattern to RAM */
-	bbt_main_descr.pattern = bbt_pattern;
-	bbt_mirror_descr.pattern = mirror_pattern;
 	nand->bbt_td = &bbt_main_descr;
 	nand->bbt_md = &bbt_mirror_descr;
 
@@ -815,7 +812,6 @@ int board_nand_init(struct nand_chip *nand)
 	/* Large-page-specific setup */
 	if (or & OR_FCM_PGS) {
 		priv->page_size = 1;
-		largepage_memorybased.pattern = scan_ff_pattern;
 		nand->badblock_pattern = &largepage_memorybased;
 
 		/* adjust ecc setup if needed */
-- 
1.6.4

^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [U-Boot] [PATCH] fsl_elbc_nand: remove the bbt descriptors relocation fixup
  2009-10-20  8:58 ` [U-Boot] [PATCH] fsl_elbc_nand: remove the bbt descriptors relocation fixup Mingkai Hu
@ 2009-10-20 15:27   ` Kumar Gala
  2009-10-20 15:28     ` Scott Wood
  0 siblings, 1 reply; 7+ messages in thread
From: Kumar Gala @ 2009-10-20 15:27 UTC (permalink / raw)
  To: u-boot


On Oct 20, 2009, at 3:58 AM, Mingkai Hu wrote:

> The commit 66372fe2 manually relocated the bbt pattern pointer,
> which can be removed by using full relocation.
>
> Signed-off-by: Mingkai Hu <Mingkai.hu@freescale.com>
> ---
> drivers/mtd/nand/fsl_elbc_nand.c |    4 ----
> 1 files changed, 0 insertions(+), 4 deletions(-)

Scott are you picking this up via the NAND tree?

Do you want to take both patches?

- k

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [U-Boot] [PATCH] fsl_elbc_nand: remove the bbt descriptors relocation fixup
  2009-10-20 15:27   ` Kumar Gala
@ 2009-10-20 15:28     ` Scott Wood
  2009-10-20 15:30       ` Kumar Gala
  0 siblings, 1 reply; 7+ messages in thread
From: Scott Wood @ 2009-10-20 15:28 UTC (permalink / raw)
  To: u-boot

On Tue, Oct 20, 2009 at 10:27:05AM -0500, Kumar Gala wrote:
>
> On Oct 20, 2009, at 3:58 AM, Mingkai Hu wrote:
>
>> The commit 66372fe2 manually relocated the bbt pattern pointer,
>> which can be removed by using full relocation.
>>
>> Signed-off-by: Mingkai Hu <Mingkai.hu@freescale.com>
>> ---
>> drivers/mtd/nand/fsl_elbc_nand.c |    4 ----
>> 1 files changed, 0 insertions(+), 4 deletions(-)
>
> Scott are you picking this up via the NAND tree?

I can if you want.

-Scott

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [U-Boot] [PATCH] ppc/85xx: make boot from NAND full relocation to RAM
  2009-10-20  8:58 [U-Boot] [PATCH] ppc/85xx: make boot from NAND full relocation to RAM Mingkai Hu
  2009-10-20  8:58 ` [U-Boot] [PATCH] fsl_elbc_nand: remove the bbt descriptors relocation fixup Mingkai Hu
@ 2009-10-20 15:30 ` Kumar Gala
  1 sibling, 0 replies; 7+ messages in thread
From: Kumar Gala @ 2009-10-20 15:30 UTC (permalink / raw)
  To: u-boot


On Oct 20, 2009, at 3:58 AM, Mingkai Hu wrote:

> Take advantage of the latest full relocation commit of PPC platform
> for boot from NAND.
>
> Signed-off-by: Mingkai Hu <Mingkai.hu@freescale.com>
> ---

Acked-by: Kumar Gala <galak@kernel.crashing.org>

Scott, go ahead and take this via the NAND tree to keep the patches  
together.

- k

>
> Changelog:
>
> - according to Scott's comments to seperate this patch.
>
> cpu/mpc85xx/u-boot-nand.lds |    1 -
> 1 files changed, 0 insertions(+), 1 deletions(-)
>
> diff --git a/cpu/mpc85xx/u-boot-nand.lds b/cpu/mpc85xx/u-boot-nand.lds
> index a0fc8f1..b4c63e2 100644
> --- a/cpu/mpc85xx/u-boot-nand.lds
> +++ b/cpu/mpc85xx/u-boot-nand.lds
> @@ -58,7 +58,6 @@ SECTIONS
>   .text      :
>   {
>     *(.text)
> -    *(.fixup)
>     *(.got1)
>    } :text
>     _etext = .;
> -- 
> 1.6.4
>
> _______________________________________________
> U-Boot mailing list
> U-Boot at lists.denx.de
> http://lists.denx.de/mailman/listinfo/u-boot

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [U-Boot] [PATCH] fsl_elbc_nand: remove the bbt descriptors relocation fixup
  2009-10-20 15:28     ` Scott Wood
@ 2009-10-20 15:30       ` Kumar Gala
  2009-11-09 19:14         ` Scott Wood
  0 siblings, 1 reply; 7+ messages in thread
From: Kumar Gala @ 2009-10-20 15:30 UTC (permalink / raw)
  To: u-boot


On Oct 20, 2009, at 10:28 AM, Scott Wood wrote:

> On Tue, Oct 20, 2009 at 10:27:05AM -0500, Kumar Gala wrote:
>>
>> On Oct 20, 2009, at 3:58 AM, Mingkai Hu wrote:
>>
>>> The commit 66372fe2 manually relocated the bbt pattern pointer,
>>> which can be removed by using full relocation.
>>>
>>> Signed-off-by: Mingkai Hu <Mingkai.hu@freescale.com>
>>> ---
>>> drivers/mtd/nand/fsl_elbc_nand.c |    4 ----
>>> 1 files changed, 0 insertions(+), 4 deletions(-)
>>
>> Scott are you picking this up via the NAND tree?
>
> I can if you want.

Go ahead and pick both up via NAND tree.  I'll ack the second one.

- k

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [U-Boot] [PATCH] fsl_elbc_nand: remove the bbt descriptors relocation fixup
  2009-10-20 15:30       ` Kumar Gala
@ 2009-11-09 19:14         ` Scott Wood
  0 siblings, 0 replies; 7+ messages in thread
From: Scott Wood @ 2009-11-09 19:14 UTC (permalink / raw)
  To: u-boot

On Tue, Oct 20, 2009 at 10:30:55AM -0500, Kumar Gala wrote:
> 
> On Oct 20, 2009, at 10:28 AM, Scott Wood wrote:
> 
> >On Tue, Oct 20, 2009 at 10:27:05AM -0500, Kumar Gala wrote:
> >>
> >>On Oct 20, 2009, at 3:58 AM, Mingkai Hu wrote:
> >>
> >>>The commit 66372fe2 manually relocated the bbt pattern pointer,
> >>>which can be removed by using full relocation.
> >>>
> >>>Signed-off-by: Mingkai Hu <Mingkai.hu@freescale.com>
> >>>---
> >>>drivers/mtd/nand/fsl_elbc_nand.c |    4 ----
> >>>1 files changed, 0 insertions(+), 4 deletions(-)
> >>
> >>Scott are you picking this up via the NAND tree?
> >
> >I can if you want.
> 
> Go ahead and pick both up via NAND tree.  I'll ack the second one.

Applied both to next.

-Scott

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2009-11-09 19:14 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-10-20  8:58 [U-Boot] [PATCH] ppc/85xx: make boot from NAND full relocation to RAM Mingkai Hu
2009-10-20  8:58 ` [U-Boot] [PATCH] fsl_elbc_nand: remove the bbt descriptors relocation fixup Mingkai Hu
2009-10-20 15:27   ` Kumar Gala
2009-10-20 15:28     ` Scott Wood
2009-10-20 15:30       ` Kumar Gala
2009-11-09 19:14         ` Scott Wood
2009-10-20 15:30 ` [U-Boot] [PATCH] ppc/85xx: make boot from NAND full relocation to RAM Kumar Gala

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.