commit | 6c77dfc5e6a306033cba9793fe6280511e512bad | [log] [tgz] |
---|---|---|
author | Louis Mayencourt <louis.mayencourt@arm.com> | Mon Dec 09 11:29:38 2019 +0000 |
committer | Louis Mayencourt <louis.mayencourt@arm.com> | Mon Dec 09 14:15:40 2019 +0000 |
tree | a3dbbca76bd0ce4d9d79885aba228ccd7c546348 | |
parent | 87b582ef5b31c5893a470b61c217931fc7602da3 [diff] |
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>