diff options
author | Laurentiu Tudor <laurentiu.tudor@nxp.com> | 2023-09-27 18:30:48 +0300 |
---|---|---|
committer | Peng Fan <peng.fan@nxp.com> | 2023-10-10 10:13:33 +0800 |
commit | 66d885cab3707478faba4fd05af8462b01efead9 (patch) | |
tree | bc3228ba06cacdcd11a850105fd58a1566562a10 | |
parent | 1dd7b5663459daa2a443d0713fda0af8564e0fee (diff) | |
download | u-boot-66d885cab3707478faba4fd05af8462b01efead9.tar.gz |
board: freescale: ls2080a: declare MC reserved regions
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>
-rw-r--r-- | board/freescale/ls2080aqds/ls2080aqds.c | 1 | ||||
-rw-r--r-- | board/freescale/ls2080ardb/ls2080ardb.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/board/freescale/ls2080aqds/ls2080aqds.c b/board/freescale/ls2080aqds/ls2080aqds.c index ba25e9b0b8f..5c94c83121b 100644 --- a/board/freescale/ls2080aqds/ls2080aqds.c +++ b/board/freescale/ls2080aqds/ls2080aqds.c @@ -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); diff --git a/board/freescale/ls2080ardb/ls2080ardb.c b/board/freescale/ls2080ardb/ls2080ardb.c index 8d340f17a25..5c30de83d84 100644 --- a/board/freescale/ls2080ardb/ls2080ardb.c +++ b/board/freescale/ls2080ardb/ls2080ardb.c @@ -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); |