mtd: spi-nor: introduce SR_BP_SHIFT define

The shift variable of SR_BP is conclusive because the first bit of SR_BP
is fixed on all known flashes. Replace ffs operation with SR_BP_SHIFT.

Signed-off-by: Jungseung Lee <js07.lee@samsung.com>
Signed-off-by: Tudor Ambarus <tudor.ambarus@microchip.com>
This commit is contained in:
Jungseung Lee 2020-01-13 14:59:05 +09:00 • committed by Tudor Ambarus
commit 8c79fa6c44
No known key found for this signature in database
GPG key ID: 4B554F47A58D14E9
2 changed files with 7 additions and 6 deletions