flash/nor: Factor out cfi_spansion_unlock_seq() 44/5144/11
authorMarek Vasut <marek.vasut@gmail.com>
Fri, 19 Apr 2019 18:34:36 +0000 (20:34 +0200)
committerPaul Fertser <fercerpav@gmail.com>
Sun, 5 Jan 2020 14:26:54 +0000 (14:26 +0000)
commit790bd27181c13f816fcce59f3ab23d3b2f21f94d
treede9f7cd7da19eda367b31e53ecefddf946c623ed
parent9f1529da4fcc7d1e508ab9ea4dc915800d68e730
flash/nor: Factor out cfi_spansion_unlock_seq()

Factor out the spansion unlock sequence to deduplicate the code.

Change-Id: Id78522e9a2f0e701870ef816772289d08257476a
Signed-off-by: Marek Vasut <marek.vasut@gmail.com>
Reviewed-on: http://openocd.zylin.com/5144
Tested-by: jenkins
Reviewed-by: Paul Fertser <fercerpav@gmail.com>
src/flash/nor/cfi.c