board: freescale: ls2080a: declare MC reserved regions
authorLaurentiu Tudor <laurentiu.tudor@nxp.com>
Wed, 27 Sep 2023 15:30:48 +0000 (18:30 +0300)
committerPeng Fan <peng.fan@nxp.com>
Tue, 10 Oct 2023 02:13:33 +0000 (10:13 +0800)
Populate the device tree with the MC reserved memory regions.

Signed-off-by: Laurentiu Tudor <laurentiu.tudor@nxp.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
board/freescale/ls2080aqds/ls2080aqds.c
board/freescale/ls2080ardb/ls2080ardb.c

index ba25e9b..5c94c83 100644 (file)
@@ -325,6 +325,7 @@ int ft_board_setup(void *blob, struct bd_info *bd)
 
 #if defined(CONFIG_FSL_MC_ENET) && !defined(CONFIG_SPL_BUILD)
        fdt_fixup_board_enet(blob);
+       fdt_reserve_mc_mem(blob, 0x300);
 #endif
 
        fdt_fixup_icid(blob);
index 8d340f1..5c30de8 100644 (file)
@@ -522,6 +522,7 @@ int ft_board_setup(void *blob, struct bd_info *bd)
 
 #ifdef CONFIG_FSL_MC_ENET
        fdt_fixup_board_enet(blob);
+       fdt_reserve_mc_mem(blob, 0x300);
 #endif
 
        fdt_fixup_icid(blob);