flash: nxp: updating drivers, Kconfig and device trees with new bindings

The lpc and mcux drivers' DRV_COMPAT is updated for the new bindings
introduced in the previous commit. The drivers' Kconfig files also
reflect this change (DT_HAS_ENABLED_NXP_...).
The SoC device trees are updated with the new bindings

Signed-off-by: Yves Vandervennet <yves.vandervennet@nxp.com>
This commit is contained in:
Yves Vandervennet 2022-08-12 09:05:25 -05:00 committed by Mahesh Mahadevan
commit da3d0b3492
10 changed files with 16 additions and 12 deletions

View file

@ -17,8 +17,8 @@
#include "fsl_flashiap.h"
#if DT_NODE_HAS_STATUS(DT_INST(0, nxp_lpc_iap), okay)
#define DT_DRV_COMPAT nxp_lpc_iap
#if DT_NODE_HAS_STATUS(DT_INST(0, nxp_iap_fmc11), okay)
#define DT_DRV_COMPAT nxp_iap_fmc11
#else
#error No matching compatible for soc_flash_lpc.c
#endif