]> git.dujemihanovic.xyz Git - u-boot.git/commit
arm: total_compute: Update memory mapping info
authorLeo Yan <leo.yan@arm.com>
Fri, 25 Oct 2024 17:18:21 +0000 (18:18 +0100)
committerTom Rini <trini@konsulko.com>
Mon, 4 Nov 2024 22:41:37 +0000 (16:41 -0600)
commitea2d73c46d5fd946a7e49b5bd459538cd21eb317
tree924977317d51c8510450e31104de0e973d74c2a5
parent8e4adca5db827821ac0f9130e1e2296634f3b730
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>
board/armltd/total_compute/total_compute.c