Re: [U-Boot] [PATCH] kirkwood_spi: fix setting of irq mask
Am Sonntag 18 Dezember 2011, 02:57:01 schrieb Prafulla Wadaskar: > > -Original Message- > > From: Michael Walle [mailto:mich...@walle.cc] > > Sent: 17 December 2011 09:31 > > To: u-boot@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: > > > 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 :) > > Thanks Michael > I will take care of that. Ping :) -- Michael ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot
Re: [U-Boot] [PATCH] kirkwood_spi: fix setting of irq mask
> -Original Message- > From: Michael Walle [mailto:mich...@walle.cc] > Sent: 17 December 2011 09:31 > To: u-boot@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: > > 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 :) Thanks Michael I will take care of that. Regards.. Prafulla . . . > > -- > Michael ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot
Re: [U-Boot] [PATCH] kirkwood_spi: fix setting of irq mask
Am Samstag 17 Dezember 2011, 18:28:05 schrieb Michael Walle: > 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 :) -- Michael ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot
[U-Boot] [PATCH] 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. Signed-off-by: Michael Walle Cc: Albert ARIBAUD Cc: Prafulla Wadaskar --- drivers/spi/kirkwood_spi.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/spi/kirkwood_spi.c b/drivers/spi/kirkwood_spi.c index a50e498..9aaecfe 100644 --- a/drivers/spi/kirkwood_spi.c +++ b/drivers/spi/kirkwood_spi.c @@ -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) { -- 1.7.2.5 ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot