Home
last modified time | relevance | path

Searched hist:"6 c77dfc5e6a306033cba9793fe6280511e512bad" (Results 1 – 1 of 1) sorted by relevance

/rk3399_ARM-atf/plat/arm/common/
H A Darm_dyn_cfg.c6c77dfc5e6a306033cba9793fe6280511e512bad Mon Dec 09 11:29:38 UTC 2019 Louis Mayencourt <louis.mayencourt@arm.com> 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>