public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH 1/6] i2c: rcar_i2c: Fix u32 cast warnings
@ 2019-03-04 14:19 Ismael Luceno Cortes
  2019-03-04 14:19 ` [U-Boot] [PATCH 2/6] i2c: rcar_i2c: Add comments about registers & values Ismael Luceno Cortes
                   ` (5 more replies)
  0 siblings, 6 replies; 15+ messages in thread
From: Ismael Luceno Cortes @ 2019-03-04 14:19 UTC (permalink / raw)
  To: u-boot

Signed-off-by: Ismael Luceno <ismael.luceno@silicon-gears.com>
---
 drivers/i2c/rcar_i2c.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/i2c/rcar_i2c.c b/drivers/i2c/rcar_i2c.c
index 8d87c73713..bd7c37a207 100644
--- a/drivers/i2c/rcar_i2c.c
+++ b/drivers/i2c/rcar_i2c.c
@@ -34,9 +34,9 @@
 #define RCAR_I2C_ICMSR_MNR		BIT(6)
 #define RCAR_I2C_ICMSR_MAL		BIT(5)
 #define RCAR_I2C_ICMSR_MST		BIT(4)
-#define RCAR_I2C_ICMSR_MDE		BIT(3)
+#define RCAR_I2C_ICMSR_MDE		((u32)BIT(3))
 #define RCAR_I2C_ICMSR_MDT		BIT(2)
-#define RCAR_I2C_ICMSR_MDR		BIT(1)
+#define RCAR_I2C_ICMSR_MDR		((u32)BIT(1))
 #define RCAR_I2C_ICMSR_MAT		BIT(0)
 #define RCAR_I2C_ICSIER			0x10
 #define RCAR_I2C_ICMIER			0x14
-- 
2.19.1

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

end of thread, other threads:[~2019-03-05 10:57 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-03-04 14:19 [U-Boot] [PATCH 1/6] i2c: rcar_i2c: Fix u32 cast warnings Ismael Luceno Cortes
2019-03-04 14:19 ` [U-Boot] [PATCH 2/6] i2c: rcar_i2c: Add comments about registers & values Ismael Luceno Cortes
2019-03-04 14:19 ` [U-Boot] [PATCH 3/6] i2c: rcar_i2c: Fix sending of slave addresses Ismael Luceno Cortes
2019-03-04 14:19 ` [U-Boot] [PATCH 4/6] i2c: rcar_i2c: Don't mask errors with EREMOTEIO at rcar_i2c_xfer Ismael Luceno Cortes
2019-03-04 14:19 ` [U-Boot] [PATCH 5/6] i2c: rcar_i2c: Set the slave address from rcar_i2c_xfer Ismael Luceno Cortes
2019-03-04 19:46   ` Marek Vasut
2019-03-05 10:46     ` Ismael Luceno Cortes
2019-03-05 10:55       ` Marek Vasut
2019-03-04 14:19 ` [U-Boot] [PATCH 6/6] i2c: rcar_i2c: Move FSDA check to rcar_i2c_recover Ismael Luceno Cortes
2019-03-04 19:47   ` Marek Vasut
2019-03-05 10:03     ` Ismael Luceno Cortes
2019-03-05 10:56       ` Marek Vasut
2019-03-04 19:45 ` [U-Boot] [PATCH 1/6] i2c: rcar_i2c: Fix u32 cast warnings Marek Vasut
2019-03-05 10:23   ` Ismael Luceno Cortes
2019-03-05 10:57     ` Marek Vasut

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