mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH] pcm038: Updated NOR-Flash CS values
@ 2011-12-12 14:50 Teresa Gámez
  2011-12-13 10:34 ` Sascha Hauer
  0 siblings, 1 reply; 2+ messages in thread
From: Teresa Gámez @ 2011-12-12 14:50 UTC (permalink / raw)
  To: barebox

Newer pcm038 are populated with a PC28F256P30BFE NOR-Flash.
This flash requires different CS values.
The values also work with older NOR-Flashes.

Signed-off-by: Teresa Gámez <t.gamez@phytec.de>
---
 arch/arm/boards/pcm038/pcm038.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/arch/arm/boards/pcm038/pcm038.c b/arch/arm/boards/pcm038/pcm038.c
index 0b07a63..6b8897e 100644
--- a/arch/arm/boards/pcm038/pcm038.c
+++ b/arch/arm/boards/pcm038/pcm038.c
@@ -223,9 +223,9 @@ static int pcm038_devices_init(void)
 	};
 
 	/* configure 16 bit nor flash on cs0 */
-	CS0U = 0x0000CC03;
-	CS0L = 0xa0330D01;
-	CS0A = 0x00220800;
+	CS0U = 0x22C2CF00;
+	CS0L = 0x75000D01;
+	CS0A = 0x00000900;
 
 	/* configure SRAM on cs1 */
 	CS1U = 0x0000d843;
-- 
1.7.0.4


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

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

* Re: [PATCH] pcm038: Updated NOR-Flash CS values
  2011-12-12 14:50 [PATCH] pcm038: Updated NOR-Flash CS values Teresa Gámez
@ 2011-12-13 10:34 ` Sascha Hauer
  0 siblings, 0 replies; 2+ messages in thread
From: Sascha Hauer @ 2011-12-13 10:34 UTC (permalink / raw)
  To: Teresa Gámez; +Cc: barebox

Hi Teresa,

On Mon, Dec 12, 2011 at 03:50:54PM +0100, Teresa Gámez wrote:
> Newer pcm038 are populated with a PC28F256P30BFE NOR-Flash.
> This flash requires different CS values.
> The values also work with older NOR-Flashes.

Applied to master.

Sascha

> 
> Signed-off-by: Teresa Gámez <t.gamez@phytec.de>
> ---
>  arch/arm/boards/pcm038/pcm038.c |    6 +++---
>  1 files changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/arch/arm/boards/pcm038/pcm038.c b/arch/arm/boards/pcm038/pcm038.c
> index 0b07a63..6b8897e 100644
> --- a/arch/arm/boards/pcm038/pcm038.c
> +++ b/arch/arm/boards/pcm038/pcm038.c
> @@ -223,9 +223,9 @@ static int pcm038_devices_init(void)
>  	};
>  
>  	/* configure 16 bit nor flash on cs0 */
> -	CS0U = 0x0000CC03;
> -	CS0L = 0xa0330D01;
> -	CS0A = 0x00220800;
> +	CS0U = 0x22C2CF00;
> +	CS0L = 0x75000D01;
> +	CS0A = 0x00000900;
>  
>  	/* configure SRAM on cs1 */
>  	CS1U = 0x0000d843;
> -- 
> 1.7.0.4
> 
> 
> _______________________________________________
> barebox mailing list
> barebox@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

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

end of thread, other threads:[~2011-12-13 10:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-12-12 14:50 [PATCH] pcm038: Updated NOR-Flash CS values Teresa Gámez
2011-12-13 10:34 ` Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox