Skip to content
Unverified Commit 6a43cd02 authored by Mauro Lima's avatar Mauro Lima Committed by Mark Brown
Browse files

spi: intel: Fix the offset to get the 64K erase opcode



According to documentation, the 64K erase opcode is located in VSCC
range [16:23] instead of [8:15].
Use the proper value to shift the mask over the correct range.

Signed-off-by: default avatarMauro Lima <mauro.lima@eclypsium.com>
Reviewed-by: default avatarMika Westerberg <mika.westerberg@linux.intel.com>
Link: https://lore.kernel.org/r/20221012152135.28353-1-mauro.lima@eclypsium.com
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 5302e1ff
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment