From 896eec92715d7062963d92bedd7dc61d643df1ea Mon Sep 17 00:00:00 2001 From: Emanuele Ghidoli Date: Mon, 22 Apr 2024 15:36:09 +0200 Subject: board: ti: Fix call to fdt_fixup_msmc_ram Substitute failing calls to fdt_fixup_msmc_ram function by calling fdt_fixup_msmc_ram_k3 function which was implemented in commit [1]. At functional level nothing changes. [1] b6e669d7a393 ("arm: k3: Fix ft_system_setup so it can be enabled on any SoC") Upstream-Status: Inappropriate Commit [1] is already upstreamed and the new function is already used when new boards were added. Signed-off-by: Emanuele Ghidoli --- board/ti/am65x/evm.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'board/ti/am65x/evm.c') diff --git a/board/ti/am65x/evm.c b/board/ti/am65x/evm.c index 48dc1af9aa..8a536f5b97 100644 --- a/board/ti/am65x/evm.c +++ b/board/ti/am65x/evm.c @@ -80,10 +80,7 @@ int ft_board_setup(void *blob, struct bd_info *bd) { int ret; - ret = fdt_fixup_msmc_ram(blob, "/bus@100000", "sram@70000000"); - if (ret < 0) - ret = fdt_fixup_msmc_ram(blob, "/interconnect@100000", - "sram@70000000"); + ret = fdt_fixup_msmc_ram_k3(blob); if (ret) { printf("%s: fixing up msmc ram failed %d\n", __func__, ret); return ret; -- cgit v1.2.3