Skip to contentSkip to conversation

kirkwood_spi: fix setting of irq mask

PATCH New Michael Walle 2 participants 4 messages Dec 17, 2011 – Jan 2, 2012 SPI

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 kirkwood_spi: fix setting of irq mask

Since the data alignment fault was enabled recently in commit
arm, arm926ejs: always do cpu critical inits
the driver won't work anymore and all boards which use an environment in an SPI flash will fail booting.

Cc Albert ARIBAUD <[email protected]>
Cc Prafulla Wadaskar <[email protected]>
---
 drivers/spi/kirkwood_spi.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/spi/kirkwood_spi.c +1 -1
index a50e498..9aaecfe 100644
@@ -67,7 +67,7 @@ struct spi_slave *spi_setup_slave(unsigned int bus, unsigned int cs,
 	debug("data = 0x%08x \n", data);
 
 	writel(KWSPI_SMEMRDIRQ, &spireg->irq_cause);
-	writel(KWSPI_IRQMASK, spireg->irq_mask);
+	writel(KWSPI_IRQMASK, &spireg->irq_mask);
 
 	/* program mpp registers to select  SPI_CSn */
 	if (cs) {
Signature · 1 line
1.7.2.5
#1 lore raw

PATCH 1/1 kirkwood_spi: fix setting of irq mask

Am Samstag 17 Dezember 2011, 18:28:05 schrieb Michael Walle:

Quoted 4 lines

Since the data alignment fault was enabled recently in commit
arm, arm926ejs: always do cpu critical inits
the driver won't work anymore and all boards which use an environment in an SPI flash will fail booting.

Sorry i don't know how you track patches that should be applied for the RC. But IMHO this is one :)

Signature · 1 line
Michael
#2 lore raw

PATCH 1/1 kirkwood_spi: fix setting of irq mask

Quoted 13 lines

-----Original Message-----
From: Michael Walle [mailto:michael at walle.cc]
Sent: 17 December 2011 09:31
To: u-boot at lists.denx.de
Cc: Albert ARIBAUD; Prafulla Wadaskar; Wolfgang Denk
Subject: Re: [PATCH] kirkwood_spi: fix setting of irq mask

Am Samstag 17 Dezember 2011, 18:28:05 schrieb Michael Walle:

Quoted 3 lines

Since the data alignment fault was enabled recently in commit
arm, arm926ejs: always do cpu critical inits
the driver won't work anymore and all boards which use an

Quoted 6 lines

environment in an

Quoted 1 line

SPI flash will fail booting.

Sorry i don't know how you track patches that should be applied for the RC.
But IMHO this is one :)

Thanks Michael
I will take care of that.

Regards..
Prafulla . . .

Quoted 3 lines

--
Michael

#3 lore raw

PATCH 1/1 kirkwood_spi: fix setting of irq mask

Am Sonntag 18 Dezember 2011, 02:57:01 schrieb Prafulla Wadaskar:

Quoted 16 lines
Quoted 16 lines

-----Original Message-----
From: Michael Walle [mailto:michael at walle.cc]
Sent: 17 December 2011 09:31
To: u-boot at lists.denx.de
Cc: Albert ARIBAUD; Prafulla Wadaskar; Wolfgang Denk
Subject: Re: [PATCH] kirkwood_spi: fix setting of irq mask

Am Samstag 17 Dezember 2011, 18:28:05 schrieb Michael Walle:

Quoted 5 lines

Since the data alignment fault was enabled recently in commit

arm, arm926ejs: always do cpu critical inits

the driver won't work anymore and all boards which use an

environment in an

Quoted 8 lines
Quoted 5 lines
Quoted 1 line

SPI flash will fail booting.

Sorry i don't know how you track patches that should be applied for the RC.
But IMHO this is one :)

Thanks Michael
I will take care of that.

Ping :)

Signature · 1 line
Michael