From: Lokesh Vutla Date: Sat, 8 Aug 2020 16:22:47 +0530 Subject: [PATCH v4 03/19] board: ti: j721e: Update fdt fixup logic for interconnect nodes In-Reply-To: <20200808105303.1513-1-lokeshvutla@ti.com> References: <20200808105303.1513-1-lokeshvutla@ti.com> Message-ID: <20200808105303.1513-4-lokeshvutla@ti.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de From: Suman Anna The DT nodes on J721E SoCs currently use a node name "interconnect" for the various interconnects. This name is not following the DT schema, and should simply be "bus". Update the fdt fixup logic to use both the current and the expected corrected path names so that this logic won't be broken with newer kernels. Signed-off-by: Suman Anna --- board/ti/j721e/evm.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/board/ti/j721e/evm.c b/board/ti/j721e/evm.c index 7199d11e95..86e7cd4051 100644 --- a/board/ti/j721e/evm.c +++ b/board/ti/j721e/evm.c @@ -92,7 +92,10 @@ int ft_board_setup(void *blob, struct bd_info *bd) { int ret; - ret = fdt_fixup_msmc_ram(blob, "/interconnect at 100000", "sram at 70000000"); + ret = fdt_fixup_msmc_ram(blob, "/bus at 100000", "sram at 70000000"); + if (ret < 0) + ret = fdt_fixup_msmc_ram(blob, "/interconnect at 100000", + "sram@70000000"); if (ret) printf("%s: fixing up msmc ram failed %d\n", __func__, ret); -- 2.23.0