Commit 7d57909b authored by Masahiro Yamada's avatar Masahiro Yamada Committed by Russell King

ARM: 8290/1: decompressor: fix a wrong comment

This comment does not correspond to the actual code.

When zImage is loaded at a lower *OR* higher address of
the destination of Image, it won't overwrite itself.
Signed-off-by: default avatarMasahiro Yamada <yamada.m@jp.panasonic.com>
Acked-by: default avatarNicolas Pitre <nico@linaro.org>
Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
parent 99a468d7
...@@ -178,7 +178,7 @@ not_angel: ...@@ -178,7 +178,7 @@ not_angel:
/* /*
* Set up a page table only if it won't overwrite ourself. * Set up a page table only if it won't overwrite ourself.
* That means r4 < pc && r4 - 16k page directory > &_end. * That means r4 < pc || r4 - 16k page directory > &_end.
* Given that r4 > &_end is most unfrequent, we add a rough * Given that r4 > &_end is most unfrequent, we add a rough
* additional 1MB of room for a possible appended DTB. * additional 1MB of room for a possible appended DTB.
*/ */
......
Markdown is supported
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