public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] spi: atmel: sam9m10g45 also support WDRBT bit
@ 2012-12-06  8:22 Bo Shen
  2012-12-09 21:50 ` Andreas Bießmann
  0 siblings, 1 reply; 2+ messages in thread
From: Bo Shen @ 2012-12-06  8:22 UTC (permalink / raw)
  To: u-boot

The at91sam9m10g45 also support WDRBT bit, add support for it

Signed-off-by: Bo Shen <voice.shen@atmel.com>
---
 drivers/spi/atmel_spi.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/spi/atmel_spi.c b/drivers/spi/atmel_spi.c
index c7a51f7..ce7d460 100644
--- a/drivers/spi/atmel_spi.c
+++ b/drivers/spi/atmel_spi.c
@@ -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);
-- 
1.7.9.5

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [U-Boot] [PATCH] spi: atmel: sam9m10g45 also support WDRBT bit
  2012-12-06  8:22 [U-Boot] [PATCH] spi: atmel: sam9m10g45 also support WDRBT bit Bo Shen
@ 2012-12-09 21:50 ` Andreas Bießmann
  0 siblings, 0 replies; 2+ messages in thread
From: Andreas Bießmann @ 2012-12-09 21:50 UTC (permalink / raw)
  To: u-boot

Dear Bo Shen,

On 06.12.2012 09:22, Bo Shen wrote:
> The at91sam9m10g45 also support WDRBT bit, add support for it
>
> Signed-off-by: Bo Shen <voice.shen@atmel.com>
> ---
>   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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-12-09 21:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-12-06  8:22 [U-Boot] [PATCH] spi: atmel: sam9m10g45 also support WDRBT bit Bo Shen
2012-12-09 21:50 ` Andreas Bießmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox