aboutsummaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorJianpeng Bu <jianpeng.bu@nxp.com>2022-01-31 18:42:36 +0530
committerPriyanka Jain <priyanka.jain@nxp.com>2022-02-01 15:08:07 +0530
commit0a96dfb57e3eb834197c8bdd8f26802025524e1c (patch)
tree0da4b312862ab71b469eac9e035105198e38c819 /board
parent4118a5b1cff711d096915023046a9a07f259b60f (diff)
downloadu-boot-0a96dfb57e3eb834197c8bdd8f26802025524e1c.zip
u-boot-0a96dfb57e3eb834197c8bdd8f26802025524e1c.tar.gz
u-boot-0a96dfb57e3eb834197c8bdd8f26802025524e1c.tar.bz2
board: ls1088a: update ifc node name to be memory-controller
IFC-NOR and QSPI are muxed on SoC. So disable IFC node in dts if QSPI is enabled or disable QSPI node in dts in case QSPI is not enabled. "ifc/nor" will be changed to "memory-controller/nor" in linux. So need to modify "ifc/nor" to "memory-controller/nor" in fdt_path_offset(). Signed-off-by: Jianpeng Bu <jianpeng.bu@nxp.com> [Rebased] Signed-off-by: Priyanka Jain <priyanka.jain@nxp.com>
Diffstat (limited to 'board')
-rw-r--r--board/freescale/ls1088a/ls1088a.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/board/freescale/ls1088a/ls1088a.c b/board/freescale/ls1088a/ls1088a.c
index aa548b2..63e824c 100644
--- a/board/freescale/ls1088a/ls1088a.c
+++ b/board/freescale/ls1088a/ls1088a.c
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: GPL-2.0+
/*
- * Copyright 2017-2018 NXP
+ * Copyright 2017-2022 NXP
*/
#include <common.h>
#include <clock_legacy.h>
@@ -904,10 +904,10 @@ void fsl_fdt_fixup_flash(void *fdt)
}
if (disable_ifc) {
- offset = fdt_path_offset(fdt, "/soc/ifc/nor");
+ offset = fdt_path_offset(fdt, "/soc/memory-controller/nor");
if (offset < 0)
- offset = fdt_path_offset(fdt, "/ifc/nor");
+ offset = fdt_path_offset(fdt, "/memory-controller/nor");
} else {
offset = fdt_path_offset(fdt, "/soc/quadspi");
@@ -917,10 +917,10 @@ void fsl_fdt_fixup_flash(void *fdt)
#else
#ifdef CONFIG_FSL_QSPI
- offset = fdt_path_offset(fdt, "/soc/ifc/nor");
+ offset = fdt_path_offset(fdt, "/soc/memory-controller/nor");
if (offset < 0)
- offset = fdt_path_offset(fdt, "/ifc/nor");
+ offset = fdt_path_offset(fdt, "/memory-controller/nor");
#else
offset = fdt_path_offset(fdt, "/soc/quadspi");