commit | 73d42d71bfb05e352198214a53d369a5d082b6b4 | [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 | d7dd85fdda15039501c419c0eb6b3fd715c7076f [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>