Re: [U-Boot] [PATCH 3/7] mmc: Enhance erase handling procedure

2013-12-08 Thread Pantelis Antoniou
Hi Haijun, On Nov 5, 2013, at 8:23 AM, Haijun Zhang wrote: > Erass sequence: > 1. check if erase command is support by card. If not return. > 2. Check the erase range to see if it was aligned. The min erase size > should be one erase group. SD card it was one block(512), mmc card > it should be o

[U-Boot] [PATCH 3/7] mmc: Enhance erase handling procedure

2013-11-04 Thread Haijun Zhang
Erass sequence: 1. check if erase command is support by card. If not return. 2. Check the erase range to see if it was aligned. The min erase size should be one erase group. SD card it was one block(512), mmc card it should be one erase group. 3. If not, aligned the erase rang according to the eras