of: Handle memory@0 node on PPC32 only
authorLeif Lindholm <leif.lindholm@linaro.org>
Thu, 17 Apr 2014 17:42:01 +0000 (18:42 +0100)
committerGrant Likely <grant.likely@linaro.org>
Fri, 23 May 2014 02:21:45 +0000 (11:21 +0900)
commitb44aa25d20e2ef6b824901cbc50a281791f3b421
tree0e9bccb8e99978241b40045e7d7da1c5bbcd54cd
parentff5f762b44237deb83be7bf6db965eeafadfa3e1
of: Handle memory@0 node on PPC32 only

In order to deal with an firmware bug on a specific ppc32 platform
(longtrail), early_init_dt_scan_memory() looks for a node called
memory@0 on all platforms. Restrict this quirk to ppc32 kernels only.

Signed-off-by: Leif Lindholm <leif.lindholm@linaro.org>
Cc: linuxppc-dev@lists.ozlabs.org
Cc: Grant Likely <grant.likely@linaro.org>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: devicetree@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
drivers/of/fdt.c