]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
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 ba25e9b0b8fc5aa386746d08bfb5203e956d6edb..5c94c83121b5af3819c83b6ab6054436b0faf5f8 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 8d340f17a256ee5707b787ccbd46f32a6be721e0..5c30de83d8417050319d7ff823f828d503656ac4 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);