]> asedeno.scripts.mit.edu Git - linux.git/commit
mtd: spi-nor : Remove SPI_NOR_HAS_TB flag on s25fl512s
authorJungseung Lee <js07.lee@samsung.com>
Sat, 13 Jul 2019 13:56:20 +0000 (22:56 +0900)
committerTudor Ambarus <tudor.ambarus@microchip.com>
Tue, 20 Aug 2019 15:09:01 +0000 (18:09 +0300)
commite7023898034ea3142661ecf02813177c00f3298c
treee1b8b604441d1ebb6fd5f5479135a15fc703ef28
parentf13e18048bdfcea2c3e25ec691cb6b4d8ab3cf21
mtd: spi-nor : Remove SPI_NOR_HAS_TB flag on s25fl512s

Currently, the Top/Bottom protection function (SPI_NOR_HAS_TB) is
implemented to fit some flashes with TB bit on SR.

s25fl512s has TBPROT bit on CR1, so the TB protection is not working on it.
Fix the wrong flag on s25fl512s.

Signed-off-by: Jungseung Lee <js07.lee@samsung.com>
Signed-off-by: Tudor Ambarus <tudor.ambarus@microchip.com>
drivers/mtd/spi-nor/spi-nor.c