mirror of
https://github.com/smaeul/u-boot.git
synced 2025-10-13 20:36:02 +01:00
powerpc: bootm: Fix sizes in memory adjusting warning
Old size is stored in size variable and new size is in bootm_size variable. Signed-off-by: Pali Rohár <pali@kernel.org>
This commit is contained in:
parent
676f682bad
commit
66b2dd9ac3
@ -137,7 +137,8 @@ void arch_lmb_reserve(struct lmb *lmb)
|
||||
|
||||
if (size < bootm_size) {
|
||||
ulong base = bootmap_base + size;
|
||||
printf("WARNING: adjusting available memory to %lx\n", size);
|
||||
printf("WARNING: adjusting available memory from 0x%lx to 0x%llx\n",
|
||||
size, (unsigned long long)bootm_size);
|
||||
lmb_reserve(lmb, base, bootm_size - size);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user