]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: 6648/1: map ATAGs when not in first 1MB of RAM
authorRob Herring <rob.herring@calxeda.com>
Wed, 2 Feb 2011 15:33:17 +0000 (16:33 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 17 Feb 2011 23:27:33 +0000 (23:27 +0000)
commit772a4bb7b8b6990a774bae05f6797f7335edfacd
tree3ac2bd52f6029f382399cf15cf35abe568401818
parent8621329a8c3cf16e204f1554b87837b08bbcafb5
ARM: 6648/1: map ATAGs when not in first 1MB of RAM

If ATAGs or DTB pointer is not within first 1MB of RAM, then the boot params
will not be mapped early enough, so map the 1MB region that r2 points to. Only
map the first 1MB when r2 is 0.

Some assembly improvements from Nicolas Pitre.

Acked-by: Tony Lindgren <tony@atomide.com>
Acked-by: Nicolas Pitre <nicolas.pitre@linaro.org>
Signed-off-by: Rob Herring <rob.herring@calxeda.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/kernel/head.S