mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-30 07:39:24 +00:00
Merge "fix(gpt): fix GPT library fill_l1_tbl() function" into integration
This commit is contained in:
commit
db04e56c37
1 changed files with 1 additions and 1 deletions
|
@ -847,7 +847,7 @@ static void fill_l1_tbl(uint64_t *l1, uintptr_t first, uintptr_t last,
|
||||||
assert(GPT_L0_IDX(first) == GPT_L0_IDX(last));
|
assert(GPT_L0_IDX(first) == GPT_L0_IDX(last));
|
||||||
|
|
||||||
#if (RME_GPT_MAX_BLOCK != 0)
|
#if (RME_GPT_MAX_BLOCK != 0)
|
||||||
while (first < last) {
|
while (first <= last) {
|
||||||
/* Region length */
|
/* Region length */
|
||||||
size_t length = last - first + GPT_PGS_ACTUAL_SIZE(gpt_config.p);
|
size_t length = last - first + GPT_PGS_ACTUAL_SIZE(gpt_config.p);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue