ARC: make a copy of flat DT
authorVineet Gupta <vgupta@synopsys.com>
Thu, 21 Feb 2013 12:07:06 +0000 (17:37 +0530)
committerVineet Gupta <vgupta@synopsys.com>
Tue, 26 Feb 2013 08:55:18 +0000 (14:25 +0530)
The flat DT (currently embedded in vmlinux) is in .init section.
The unflattened/binary tree doesn't copy strings through and references
them from orig flat DT - which could cause catestrohpy if of_* APIs are
called post init, say from a driver which is a loadable module.

Reported-by: James Hogan <james.hogan@imgtec.com>
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>

No differences found