[U-Boot] [PATCH V4 1/4] mmc: fsl_esdhc: correct type of wp_enable

Stefano Babic sbabic at denx.de
Fri Jul 7 08:07:39 UTC 2017


Hi Peng,

On 07/07/2017 09:42, Peng Fan wrote:
> Ping..
> 

I was unsure if I have to take care of this patchset, because they are
not strictly related to i.MX.

Anyway, there are no open points and if nobody complains, I merge them
into u-boot-imx, -next.

Regards,
Stefano

> Thanks,
> Peng.
> On Mon, Jun 12, 2017 at 05:50:52PM +0800, Peng Fan wrote:
>> 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 at 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
>>
>> _______________________________________________
>> U-Boot mailing list
>> U-Boot at lists.denx.de
>> https://lists.denx.de/listinfo/u-boot


-- 
=====================================================================
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================


More information about the U-Boot mailing list