spi: nxp-fspi: Add support for IP read only
authorKuldeep Singh <kuldeep.singh@nxp.com>
Tue, 3 Aug 2021 09:02:57 +0000 (14:32 +0530)
committerJagan Teki <jagan@amarulasolutions.com>
Sat, 23 Oct 2021 10:26:25 +0000 (15:56 +0530)
commite8751a9387add3fb786828498352103b7188b296
tree2075202cc8979a815eb624512e03069e6b8ebac3
parent85886161ef51f1fd8a0bea2518324cf6374bac8f
spi: nxp-fspi: Add support for IP read only

Add support for disabling AHB bus and read entire flash contents via IP
bus only. Please note, this enables IP bus read using a quirk which can
be enabled directly in device-type data or in existence of an errata
where AHB bus may need to be disabled.

Signed-off-by: Kuldeep Singh <kuldeep.singh@nxp.com>
Acked-by: Jagan Teki <jagan@amarulasolutions.com>
drivers/spi/nxp_fspi.c