From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jaehoon Chung Date: Thu, 08 Sep 2016 22:47:25 +0900 Subject: [U-Boot] [PATCH V4 1/2] mmc: sd: extracting erase related information from sd status In-Reply-To: <20160908015123.GD9097@linux-7smt.suse> References: <1472699619-4368-1-git-send-email-peng.fan@nxp.com> <20160908014254.GB9097@linux-7smt.suse> <489a5e03-15c9-c3f1-106b-28056f843094@samsung.com> <20160908015123.GD9097@linux-7smt.suse> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Peng, On 09/08/2016 10:51 AM, Peng Fan wrote: > On Thu, Sep 08, 2016 at 10:49:53AM +0900, Jaehoon Chung wrote: >> Hi Peng, >> >> On 09/08/2016 10:42 AM, Peng Fan wrote: >>> Hi Jaehoon, >>> On Wed, Sep 07, 2016 at 03:52:53PM +0900, Jaehoon Chung wrote: >>>> Hi Peng, >>>> >>>> On 09/01/2016 12:13 PM, Peng Fan wrote: >>>>> Add function to read SD_STATUS information. >>>>> According to the information, get erase_timeout/erase_size/erase_offset. >>>>> Add a structure sd_ssr to include the erase related information. >>>> >>>> Sorry for late..I'm testing with your patch on my SD-card. >>>> After that, I will apply yours. Before applied this, i will check more carefully for not doing previous my mistake. >>> >>> The issue in the previous patch set is that linux/size.h is not included in sandbox.h. >>> In this patchset, I include linux/size.h in mmc.h:) >> >> Right, i have checked the test of building with your patch. >> There is no problem..just i want to run your patch for erasing SD-card. Could you wait for one day? > > Yeah. Ok for me :) I have tested with your patch.. (Same command yours "time mmc erase 0x100000 0x2000") Before applied your patch..it took 18.212 seconds After applied your patch. 0.548 seconds. Great! I applied on u-boot-mmc. Thanks! > > Thanks, > Peng. > > >