Use the proper size for tb_fw_cfg_dtb
Currently tb_fw_cfg_dtb size is fixed to max, which is generally a page
(but depend on the platform). Instead, read the actual size of the dtb
with the libfdt "fdt_totalsize" function.
This avoid flushing extra memory after updating the dtb with mbedtls
heap information when shared heap is used.

Change-Id: Ibec727661116429f486464a0c9f15e9760d7afe2
Signed-off-by: Louis Mayencourt <louis.mayencourt@arm.com>
1 parent 87b582e commit 6c77dfc5e6a306033cba9793fe6280511e512bad
@Louis Mayencourt Louis Mayencourt authored on 9 Dec 2019
Showing 1 changed file
View
plat/arm/common/arm_dyn_cfg.c