[PATCH] pcm038: Updated NOR-Flash CS values

Teresa Gámez t.gamez at phytec.de
Mon Dec 12 09:50:54 EST 2011


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 at 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




More information about the barebox mailing list