Skip to content

Commit

Permalink
powerpc/boot: Change the WARN to INFO for boot wrapper overlap message
Browse files Browse the repository at this point in the history
commit c55aef0 ("powerpc/boot: Change the load address
for the wrapper to fit the kernel") introduced a WARNING to
inform the user that the uncompressed kernel would overlap
the boot uncompressing wrapper code. Change it to an INFO.

I initially thought, this would be a 'WARNING' for the those
boards, where the link_address should be fixed, so that the
user can take actions accordingly.

Changing the same to INFO.

Signed-off-by: Suzuki K. Poulose <suzuki@in.ibm.com>
Signed-off-by: Josh Boyer <jwboyer@gmail.com>
  • Loading branch information
Suzuki Poulose authored and Josh Boyer committed Dec 21, 2011
1 parent eb97565 commit eba3d97
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions arch/powerpc/boot/wrapper
Original file line number Diff line number Diff line change
Expand Up @@ -285,9 +285,9 @@ round_size=0x$(printf "%x" $round_size)
link_addr=$(printf "%d" $link_address)

if [ $link_addr -lt $strip_size ]; then
echo "WARN: Uncompressed kernel (size 0x$(printf "%x\n" $strip_size))" \
echo "INFO: Uncompressed kernel (size 0x$(printf "%x\n" $strip_size))" \
"overlaps the address of the wrapper($link_address)"
echo "WARN: Fixing the link_address of wrapper to ($round_size)"
echo "INFO: Fixing the link_address of wrapper to ($round_size)"
link_address=$round_size
fi

Expand Down

0 comments on commit eba3d97

Please sign in to comment.