commit | 7b7d7e33e02287936ed614001a9157d75da156e8 | [log] [tgz] |
---|---|---|
author | Leo Yan <leo.yan@arm.com> | Fri Oct 25 18:18:21 2024 +0100 |
committer | Tom Rini <trini@konsulko.com> | Mon Nov 04 16:41:37 2024 -0600 |
tree | 924977317d51c8510450e31104de0e973d74c2a5 | |
parent | c2837405f54e73b0cf8bc011dd9b8de8c80f0348 [diff] |
arm: total_compute: Update memory mapping info This commit introduces build_mem_map() function for updating the mem_map structure with copying info from gd->bd->bi_dram, so that it can keep the consistence for DRAM info passed via DT. The page table size is calculated prior to mem_map is ready, introduce the get_page_table_size() function for a predefined table size. Signed-off-by: Leo Yan <leo.yan@arm.com>