From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jagan Teki Date: Wed, 7 Jun 2017 12:33:11 +0530 Subject: [U-Boot] [PATCH] sf: Fix s25fs512s erase size and remove SECT_4K flag In-Reply-To: References: <1493112099-30909-1-git-send-email-suresh.gupta@nxp.com> <1493112099-30909-3-git-send-email-suresh.gupta@nxp.com> <929ea823-3c16-a7e5-4366-babfcea7fcbf@nxp.com> <63df3ab2-aac1-8859-94ef-8728bb743823@nxp.com> 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 Suresh, This what I understood based on my previous datasheet read __attached__ In spansion S25FS-S family the physical sectors are grouped as normal and parameter sectors. Parameter sectors are 4kB in size with 8 set located at the bottom or top address of a device. Normal sectors are similar to other flash family with sizes of 64kB or 32 kB. To erase whole flash using sector erase(D8h or DCh) won't effect the parameter sectors, so in order to erase these we must use 4K sector erase commands (20h or 21h) separately. So the lower 8 4k sectors are unaffected even if we do sector erase(d8h)? What if we do 4k erase(20h) whole flash all effected? thanks! -- Jagan Teki Senior Linux Kernel Engineer | Amarula Solutions U-Boot, Linux | Upstream Maintainer Hyderabad, India. -------------- next part -------------- A non-text attachment was scrubbed... Name: S25FS-S_Prog_Guide_AN.pdf Type: application/pdf Size: 606238 bytes Desc: not available URL: