of/flattree: Fix unhandled OF_DT_NOP tag when unflattening the device tree
authorJason Gunthorpe <jgunthorpe@obsidianresearch.com>
Sat, 27 Mar 2010 04:09:56 +0000 (22:09 -0600)
committerGrant Likely <grant.likely@secretlab.ca>
Sat, 27 Mar 2010 04:09:56 +0000 (22:09 -0600)
commit7f809e1f8e2f46c486bfe529579a16a28daacd62
tree3fbfbddbb6e219f7f5a511a8d239f04c8b6aa4c3
parent220bf991b0366cc50a94feede3d7341fa5710ee4
of/flattree: Fix unhandled OF_DT_NOP tag when unflattening the device tree

NOPs within the property section are skipped, but NOPs between
OF_DT_END_NODE and OF_DT_BEGIN_NODE were not. My firmware NOPs out
entire nodes depending on various environment parameters.

of_scan_flat_dt already handles NOP more generally.

Signed-off-by: Jason Gunthorpe <jgunthorpe@obsidianresearch.com>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
drivers/of/fdt.c