Skip to contentSkip to conversation

spi: atmel: sam9m10g45 also support WDRBT bit

PATCH New Bo Shen 2 participants 2 messages Dec 6, 2012 – Dec 9, 2012

Subsystems (2)
lore
Share & tools
lore

Bo Shen

author
#0 lore raw

PATCH 1/1 spi: atmel: sam9m10g45 also support WDRBT bit

The at91sam9m10g45 also support WDRBT bit, add support for it

---
 drivers/spi/atmel_spi.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/spi/atmel_spi.c +1 -1
index c7a51f7..ce7d460 100644
@@ -92,7 +92,7 @@ struct spi_slave *spi_setup_slave(unsigned int bus, unsigned int cs,
 	as->slave.cs = cs;
 	as->regs = regs;
 	as->mr = ATMEL_SPI_MR_MSTR | ATMEL_SPI_MR_MODFDIS
-#if defined(CONFIG_AT91SAM9X5)
+#if defined(CONFIG_AT91SAM9X5) || defined(CONFIG_AT91SAM9M10G45)
 			| ATMEL_SPI_MR_WDRBT
 #endif
 			| ATMEL_SPI_MR_PCS(~(1 << cs) & 0xf);
Signature · 1 line
1.7.9.5
#1 lore raw

PATCH 1/1 spi: atmel: sam9m10g45 also support WDRBT bit

Dear Bo Shen,

Quoted 6 lines · Bo Shen

The at91sam9m10g45 also support WDRBT bit, add support for it

---
  drivers/spi/atmel_spi.c |    2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

applied to u-boot-atmel/master, thanks!

Best regards

Andreas Bie?mann