Re: [U-Boot] [PATCH 2/2] mmc: rpmb: update size format for write_counter

2017-06-29 Thread Jaehoon Chung
On 06/08/2017 10:20 AM, Kever Yang wrote: > According to MMC spec, the write_counter is 4-byte length, > use 'int' instead of 'long' type for the 'long' is not 4-byte > in 64 bit CPU. > > Signed-off-by: Jason Zhu > Signed-off-by: Kever Yang Applied to u-boot-mmc. Thanks! Best Regards, Jaehoon

Re: [U-Boot] [PATCH 2/2] mmc: rpmb: update size format for write_counter

2017-06-18 Thread Lothar Waßmann
Hi, On Tue, 13 Jun 2017 10:11:17 +0800 Kever Yang wrote: > Hi Simon, > > > On 06/09/2017 08:28 PM, Simon Glass wrote: > > On 7 June 2017 at 19:20, Kever Yang wrote: > >> According to MMC spec, the write_counter is 4-byte length, > >> use 'int' instead of 'long' type for the 'long' is not 4-byte

Re: [U-Boot] [PATCH 2/2] mmc: rpmb: update size format for write_counter

2017-06-16 Thread Simon Glass
On 12 June 2017 at 20:11, Kever Yang wrote: > Hi Simon, > > > On 06/09/2017 08:28 PM, Simon Glass wrote: >> >> On 7 June 2017 at 19:20, Kever Yang wrote: >>> >>> According to MMC spec, the write_counter is 4-byte length, >>> use 'int' instead of 'long' type for the 'long' is not 4-byte >>> in 64

Re: [U-Boot] [PATCH 2/2] mmc: rpmb: update size format for write_counter

2017-06-12 Thread Kever Yang
Hi Simon, On 06/09/2017 08:28 PM, Simon Glass wrote: On 7 June 2017 at 19:20, Kever Yang wrote: According to MMC spec, the write_counter is 4-byte length, use 'int' instead of 'long' type for the 'long' is not 4-byte in 64 bit CPU. Signed-off-by: Jason Zhu Signed-off-by: Kever Yang ---

Re: [U-Boot] [PATCH 2/2] mmc: rpmb: update size format for write_counter

2017-06-09 Thread Simon Glass
On 7 June 2017 at 19:20, Kever Yang wrote: > According to MMC spec, the write_counter is 4-byte length, > use 'int' instead of 'long' type for the 'long' is not 4-byte > in 64 bit CPU. > > Signed-off-by: Jason Zhu > Signed-off-by: Kever Yang > --- > > drivers/mmc/rpmb.c | 2 +- > 1 file changed

[U-Boot] [PATCH 2/2] mmc: rpmb: update size format for write_counter

2017-06-07 Thread Kever Yang
According to MMC spec, the write_counter is 4-byte length, use 'int' instead of 'long' type for the 'long' is not 4-byte in 64 bit CPU. Signed-off-by: Jason Zhu Signed-off-by: Kever Yang --- drivers/mmc/rpmb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mmc/rpmb