projects
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
676f682
)
powerpc: bootm: Fix sizes in memory adjusting warning
author
Pali Rohár
<pali@kernel.org>
Thu, 26 May 2022 12:36:03 +0000
(14:36 +0200)
committer
Peng Fan
<peng.fan@nxp.com>
Mon, 20 Jun 2022 07:52:45 +0000
(15:52 +0800)
Old size is stored in size variable and new size is in bootm_size variable.
Signed-off-by: Pali Rohár <pali@kernel.org>
arch/powerpc/lib/bootm.c
patch
|
blob
|
history
diff --git
a/arch/powerpc/lib/bootm.c
b/arch/powerpc/lib/bootm.c
index 3b43066bb4f21c8e67ce1a4e1895d5a4a6b769c5..d365705856dd7b5157433f6d778502b94f5488fd 100644
(file)
--- a/
arch/powerpc/lib/bootm.c
+++ b/
arch/powerpc/lib/bootm.c
@@
-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);
}