diff options
| author | Jungseung Lee <js07.lee@samsung.com> | 2020-01-13 14:59:05 +0900 |
|---|---|---|
| committer | Tudor Ambarus <tudor.ambarus@microchip.com> | 2020-02-17 02:07:24 +0200 |
| commit | 8c79fa6c44deac8042bd747527fea06a32738158 (patch) | |
| tree | 6dbafa09e785efa3f9d4087e3013148c70832873 /lib/mpi/mpiutil.c | |
| parent | 5b24efe7d55a4bea6992ae1ee00707d77ec22575 (diff) | |
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>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions
