public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH V4 1/4] mmc: fsl_esdhc: correct type of wp_enable
@ 2017-06-12  9:50 Peng Fan
  2017-06-12  9:50 ` [U-Boot] [PATCH V4 2/4] mmc: fsl_esdhc: introduce vs18_enable for 1.8V fix I/O Peng Fan
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Peng Fan @ 2017-06-12  9:50 UTC (permalink / raw)
  To: u-boot

The type should be int, not u8. cfg->wp_enable will finally be
assigned to priv->wp_enable whose type is int.

Signed-off-by: Peng Fan <peng.fan@nxp.com>
---

V4:
 new

 include/fsl_esdhc.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/fsl_esdhc.h b/include/fsl_esdhc.h
index e15d3ae..5550e00 100644
--- a/include/fsl_esdhc.h
+++ b/include/fsl_esdhc.h
@@ -177,7 +177,7 @@ struct fsl_esdhc_cfg {
 	phys_addr_t esdhc_base;
 	u32	sdhc_clk;
 	u8	max_bus_width;
-	u8	wp_enable;
+	int	wp_enable;
 	struct mmc_config cfg;
 };
 
-- 
2.6.2

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

end of thread, other threads:[~2017-07-07  8:07 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-06-12  9:50 [U-Boot] [PATCH V4 1/4] mmc: fsl_esdhc: correct type of wp_enable Peng Fan
2017-06-12  9:50 ` [U-Boot] [PATCH V4 2/4] mmc: fsl_esdhc: introduce vs18_enable for 1.8V fix I/O Peng Fan
2017-06-12  9:50 ` [U-Boot] [PATCH V4 3/4] dm: mmc: fsl_esdhc: handle vqmmc supply Peng Fan
2017-06-12  9:50 ` [U-Boot] [PATCH V4 4/4] mmc: fsl_esdhc: drop CONFIG_SYS_FSL_ESDHC_FORCE_VSELECT Peng Fan
2017-07-07  7:42 ` [U-Boot] [PATCH V4 1/4] mmc: fsl_esdhc: correct type of wp_enable Peng Fan
2017-07-07  8:07   ` Stefano Babic

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