From: Rob Herring rob.herr...@calxeda.com
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.
Signed-off-by: Rob
On Fri, Jan 28, 2011 at 08:00:46AM -0600, Rob Herring wrote:
@@ -206,11 +206,17 @@ __create_page_tables:
#endif
/*
- * Then map first 1MB of ram in case it contains our boot params.
+ * Then map boot params address in r2 or
+ * the first 1MB of ram if boot params
Russell,
On 01/28/2011 08:10 AM, Russell King - ARM Linux wrote:
On Fri, Jan 28, 2011 at 08:00:46AM -0600, Rob Herring wrote:
@@ -206,11 +206,17 @@ __create_page_tables:
#endif
/*
-* Then map first 1MB of ram in case it contains our boot params.
+* Then map boot