• Louis Mayencourt's avatar
    Use the proper size for tb_fw_cfg_dtb · 6c77dfc5
    Louis Mayencourt authored
    
    
    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: default avatarLouis Mayencourt <louis.mayencourt@arm.com>
    6c77dfc5
arm_dyn_cfg.c 7.46 KB