diff options
author | Vignesh Raghavendra <vigneshr@ti.com> | 2020-06-01 12:34:38 +0530 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2020-06-19 14:26:48 +0100 |
commit | a99705079a91e6373122bd0ca2fc129b688fc5b3 (patch) | |
tree | b7f3565070f48289f73d05d9c1142f38be84f860 /drivers/mtd/spi-nor/controllers/intel-spi-platform.c | |
parent | 834b4e8d344139ba64cda22099b2b2ef6c9a542d (diff) |
mtd: spi-nor: cadence-quadspi: Provide a way to disable DAC mode
Currently direct access mode is used on platforms that have AHB window
(memory mapped window) larger than flash size. This feature is limited
to TI platforms as non TI platforms have < 1MB of AHB window.
Therefore introduce a driver quirk to disable DAC mode and set it for
non TI compatibles. This is in preparation to move to spi-mem framework
where flash geometry cannot be known.
Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
Reviewed-by: Tudor Ambarus <tudor.ambarus@microchip.com>
Acked-by: Tudor Ambarus <tudor.ambarus@microchip.com>
Link: https://lore.kernel.org/r/20200601070444.16923-3-vigneshr@ti.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/mtd/spi-nor/controllers/intel-spi-platform.c')
0 files changed, 0 insertions, 0 deletions