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:
parent
f8ae84df84
commit
da3d0b3492
10 changed files with 16 additions and 12 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue