[U-Boot] [PATCH] sf: Fix s25fs512s erase size and remove SECT_4K flag

Jagan Teki jagan at amarulasolutions.com
Wed Jun 7 07:03:11 UTC 2017


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: <http://lists.denx.de/pipermail/u-boot/attachments/20170607/27ddfb69/attachment-0001.pdf>


More information about the U-Boot mailing list