Commit a1254231 authored by Yu Chien Peter Lin's avatar Yu Chien Peter Lin Committed by Anup Patel
Browse files

lib: utils/serial: Ensure proper allocation of PMP entries for uart8250

The added memory region should start from the base address.
Otherwise, the range will be shifted by reg_offset and not
able to merge consecutive NAPOT regions in the root domain,
resulting in wasted PMP entries.

Fixes: e8bc1621

 ("lib: utils/serial: Add shared regions for
serial drivers")

Signed-off-by: default avatarYu Chien Peter Lin <peterlin@andestech.com>
Reviewed-by: default avatarAnup Patel <anup@brainfault.org>
parent e21901d3
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment