Re: [U-Boot] [PATCH 4/7] mmc: Update the handling of returned erase block

2013-12-08 Thread Pantelis Antoniou
Hi Haijun, On Nov 5, 2013, at 8:23 AM, Haijun Zhang wrote: > If the block rang was not algined, We tried to algined the range, > then erase the block. So the block range erased should be less or > equal to the block range send. If error occured during erase procedure > part of them will be erased

Re: [U-Boot] [PATCH 4/7] mmc: Update the handling of returned erase block

2013-11-07 Thread Jaehoon Chung
Dear Haijun, Check the below message, plz. cmd_mmc.c: In function ‘do_mmcops’: cmd_mmc.c:405:5: warning: comparisons like ‘X<=Y<=Z’ do not have their mathematical meaning [-Wparentheses] cmd_mmc.c:406:5: warning: comparisons like ‘X<=Y<=Z’ do not have their mathematical meaning [-Wparentheses]

[U-Boot] [PATCH 4/7] mmc: Update the handling of returned erase block

2013-11-04 Thread Haijun Zhang
If the block rang was not algined, We tried to algined the range, then erase the block. So the block range erased should be less or equal to the block range send. If error occured during erase procedure part of them will be erased. And use should resend the block rang to continue erase the reset of