powerpc: set CONFIG_PPC_OF=y always for ARCH=powerpc
authorPaul Mackerras <paulus@samba.org>
Mon, 9 Jan 2006 09:17:01 +0000 (20:17 +1100)
committerPaul Mackerras <paulus@samba.org>
Mon, 9 Jan 2006 09:17:01 +0000 (20:17 +1100)
commit0a498d96a3324c16add35da0435bc7c13b6c6f3f
tree0fb383f555534ffc7a7796f58c1aba8b2ca5a887
parentbce6c5fd8cc5d3f8d02fd34a24b591fc3e23a775
powerpc: set CONFIG_PPC_OF=y always for ARCH=powerpc

The CONFIG_PPC_OF symbol is used to mean that the firmware device tree
access functions are available.  Since we always have a device tree
with ARCH=powerpc, make CONFIG_PPC_OF always Y for ARCH=powerpc.

This fixes some compile errors reported by Kumar Gala, but in a
different way to his patch.  This also makes prom_parse.o be compiled
only if CONFIG_PPC_OF so that non-OF ARCH=ppc platforms will compile.

Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/Kconfig
arch/powerpc/kernel/Makefile
arch/powerpc/kernel/head_32.S