drivers: flash: soc_flash_lpc: enable support for lpc54xxx IAP

Add support for LPC54xxx IAP flash driver to soc_flash_lpc.c
Driver is tested on M4 core only, and is therefore disabled on the M0 core.

Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
This commit is contained in:
Daniel DeGrasse 2022-08-18 13:13:54 -05:00 committed by Kumar Gala
commit d70db21760
4 changed files with 9 additions and 1 deletions

View file

@ -19,6 +19,8 @@
#if DT_NODE_HAS_STATUS(DT_INST(0, nxp_iap_fmc11), okay)
#define DT_DRV_COMPAT nxp_iap_fmc11
#elif DT_NODE_HAS_STATUS(DT_INST(0, nxp_iap_fmc54), okay)
#define DT_DRV_COMPAT nxp_iap_fmc54
#else
#error No matching compatible for soc_flash_lpc.c
#endif