mtd: spinand: winbond: Create a helper to detect the need for the HS bit

The logic is not complex but might be reused to cleanup a bit the section by moving it to a dedicated helper. Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>


Author Miquel Raynal Date Commit Parent 240e65cb
+17 -14
1 changed file
+17 -14
1 changed file