commit | 6d5846b322282fd1cd4cfe8686bea5830151d842 | [log] [tgz] |
---|---|---|
author | Pratyush Yadav <p.yadav@ti.com> | Sat Jun 26 00:47:18 2021 +0530 |
committer | Jagan Teki <jagan@amarulasolutions.com> | Mon Jun 28 12:01:15 2021 +0530 |
tree | c60c9d6db7b04ea9a31a799c476c26baea736081 | |
parent | 6100561bcf86d9f355c6ec9cadc464ec24f508c2 [diff] |
mtd: spi-nor-core: Get command opcode extension type from BFPT Some devices in DTR mode expect an extra command byte called the extension. The extension can either be same as the opcode, bitwise inverse of the opcode, or another additional byte forming a 16-byte opcode. Get the extension type from the BFPT. For now, only flashes with "repeat" and "inverse" extensions are supported. Signed-off-by: Pratyush Yadav <p.yadav@ti.com> Reviewed-by: Jagan Teki <jagan@amarulasolutions.com>