commit | ea2d73c46d5fd946a7e49b5bd459538cd21eb317 | [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 | 8e4adca5db827821ac0f9130e1e2296634f3b730 [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>