From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marek Vasut Date: Sun, 16 Aug 2015 18:57:44 +0200 Subject: [U-Boot] [PATCH 6/6] sf: Update spi_flash_cmd_wait_ready In-Reply-To: <1439714629-6003-7-git-send-email-jteki@openedev.com> References: <1439714629-6003-1-git-send-email-jteki@openedev.com> <1439714629-6003-7-git-send-email-jteki@openedev.com> Message-ID: <201508161857.44371.marex@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Sunday, August 16, 2015 at 10:43:49 AM, Jagan Teki wrote: > Current flash wait_ready logic is not modular to add new > register status check, hence few of the logic is used from > Linux spi-nor framework. > > Below are the sf speed runs with 'sf update' on whole flash, 16MiB. > > => sf update 0x100 0x0 0x1000000 > device 0 whole chip > 16777216 bytes written, 0 bytes skipped in 61.784s, speed 279620 B/s > > => sf update 0x100 0x0 0x1000000 > device 0 whole chip > 16777216 bytes written, 0 bytes skipped in 61.276s, speed 284359 B/s > > Signed-off-by: Jagan Teki > Cc: Simon Glass > Cc: Marek Vasut > Cc: Michal Simek > Cc: Siva Durga Prasad Paladugu > Cc: Stefan Roese > Cc: Tom Warren > Cc: Bin Meng > Cc: Tom Rini > Tested-by: Jagan Teki > --- Please split this into two patches, one which makes the code modular and next one which adds new features (the FSR reading or whatever). Best regards, Marek Vasut