Re: [PATCH 2/6] mtd: spi-nor: cadence-quadspi: Provide a way to disable DAC mode

From: Tudor.Ambarus
Date: Thu May 28 2020 - 14:37:38 EST


On Friday, May 8, 2020 9:54:07 PM EEST Vignesh Raghavendra wrote:
> 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@xxxxxx>
> ---
> drivers/mtd/spi-nor/controllers/cadence-quadspi.c | 5 ++++-
> 1 file changed, 4 insertions(+), 1 deletion(-)

Reviewed-by: Tudor Ambarus <tudor.ambarus@xxxxxxxxxxxxx>