[PATCH] STM/MCI: Fix wrong register bit

Juergen Beisert jbe at pengutronix.de
Fri Dec 3 08:59:50 EST 2010


Signed-off-by: Juergen Beisert <jbe at pengutronix.de>
---
 drivers/mci/stm378x.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: barebox-git/drivers/mci/stm378x.c
===================================================================
--- barebox-git.orig/drivers/mci/stm378x.c
+++ barebox-git/drivers/mci/stm378x.c
@@ -52,7 +52,7 @@
 # define SSP_CTRL0_SFTRST (1 << 31)
 # define SSP_CTRL0_CLKGATE (1 << 30)
 # define SSP_CTRL0_RUN (1 << 29)
-# define SSP_CTRL0_LOCK_CS (1 << 29)
+# define SSP_CTRL0_LOCK_CS (1 << 27)
 # define SSP_CTRL0_READ (1 << 25)
 # define SSP_CTRL0_IGNORE_CRC (1 << 26)
 # define SSP_CTRL0_DATA_XFER (1 << 24)

-- 
Pengutronix e.K.                              | Juergen Beisert             |
Linux Solutions for Science and Industry      | Phone: +49-8766-939 228     |
Vertretung Sued/Muenchen, Germany             | Fax:   +49-5121-206917-5555 |
Amtsgericht Hildesheim, HRA 2686              | http://www.pengutronix.de/  |



More information about the barebox mailing list