Skip to contentSkip to conversation

pcm038: Updated NOR-Flash CS values

PATCH Applied Teresa Gámez 2 participants 2 messages Dec 12, 2011 – Dec 13, 2011 Arm (32-bit)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 pcm038: Updated NOR-Flash CS values

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

---
 arch/arm/boards/pcm038/pcm038.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
arch/arm/boards/pcm038/pcm038.c +3 -3
index 0b07a63..6b8897e 100644
@@ -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;
Signature · 7 lines
1.7.0.4


_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
Applied
#1 lore raw

Hi Teresa,

Quoted 3 lines · Teresa Gámez

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

Quoted 31 lines
---
 arch/arm/boards/pcm038/pcm038.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
arch/arm/boards/pcm038/pcm038.c +3 -3
index 0b07a63..6b8897e 100644
@@ -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;
Signature · 7 lines
1.7.0.4


_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
Signature · 9 lines
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
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox