drivers: memc_nxp_flexram: Use nodelabel for GPR
Get GPR base address using nodelabel as this will align for all the current in tree platforms. Currently inst 0 of the compat gets wrong node and base address on RT11xx. Signed-off-by: Declan Snyder <declan.snyder@nxp.com>
This commit is contained in:
parent
447f12d942
commit
ad3b3a9b93
1 changed files with 1 additions and 1 deletions
|
|
@ -8,7 +8,7 @@
|
|||
#include <soc.h>
|
||||
|
||||
#define FLEXRAM_DT_NODE DT_INST(0, nxp_flexram)
|
||||
#define IOMUXC_GPR_DT_NODE DT_INST(0, nxp_imx_gpr)
|
||||
#define IOMUXC_GPR_DT_NODE DT_NODELABEL(iomuxcgpr)
|
||||
|
||||
#if defined(CONFIG_MEMC_NXP_FLEXRAM_MAGIC_ADDR_API) || \
|
||||
defined(CONFIG_MEMC_NXP_FLEXRAM_ERROR_INTERRUPT)
|
||||
|
|
|
|||
Loading…
Reference in a new issue