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/j721s2/evm.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'board/ti/j721s2/evm.c') diff --git a/board/ti/j721s2/evm.c b/board/ti/j721s2/evm.c index 1bde20a17d..efbd93b9b4 100644 --- a/board/ti/j721s2/evm.c +++ b/board/ti/j721s2/evm.c @@ -91,12 +91,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"); - if (ret) - printf("%s: fixing up msmc ram failed %d\n", __func__, ret); + ret = fdt_fixup_msmc_ram_k3(blob); detect_enable_spinand(blob); -- cgit v1.2.3