soc: microchip: mpfs: enable access to the system controller's flash
authorConor Dooley <conor.dooley@microchip.com>
Fri, 20 Oct 2023 13:18:40 +0000 (14:18 +0100)
committerConor Dooley <conor.dooley@microchip.com>
Wed, 6 Dec 2023 12:06:18 +0000 (12:06 +0000)
commit742aa6c563d29c367edbf0ef7236a7a853ed9be4
tree27d34bd5c6ee9c581a6aa527386e1928acaa2a04
parent98d62e97c39f9b54143d504290481bed96b9bab2
soc: microchip: mpfs: enable access to the system controller's flash

The system controller has a flash that contains images used to reprogram
the FPGA using IAP (In-Application Programming).
Introduce a function that allows a driver with a reference to the system
controller to get one to a flash device attached to it.

Signed-off-by: Conor Dooley <conor.dooley@microchip.com>
drivers/soc/microchip/Kconfig
drivers/soc/microchip/mpfs-sys-controller.c
include/soc/microchip/mpfs.h