powerpc: Add del_node() for early boot code to prune inapplicable devices.
authorMike Ditto <mditto@consentry.com>
Tue, 21 Oct 2008 11:32:29 +0000 (11:32 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Wed, 22 Oct 2008 04:01:21 +0000 (15:01 +1100)
commit71773f0337bee8a3701aaaec22581c18a5f44679
tree06ff80057f216d0515b027b963af8a926dca8955
parent201bdc868d9e3122bbe4491aa6b5fc4dee4cdb96
powerpc: Add del_node() for early boot code to prune inapplicable devices.

Some platforms have variants that can share most of a flat device tree but need
a few devices selectively pruned at boot time.  This adds del_node() to ops.h
to allow access to the existing fdt_del_node().

Signed-off-by: Mike Ditto <mditto@consentry.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/boot/libfdt-wrapper.c
arch/powerpc/boot/ops.h