[PATCH] powerpc: Add CONFIG_DEFAULT_UIMAGE for embedded boards

Embedded boards that u-boot require a kernel image in the uImage format.
This allows a given board to specify it wants a uImage built by default.

This also fixes a warning at config time, as this symbol is referred
to in arch/powerpc/platforms/83xx/Kconfig.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>

authored by Kumar Gala and committed by Paul Mackerras 00adbf62 ad71f123

+7
+6
arch/powerpc/Kconfig
··· 83 83 default y if PPC32 && SMP 84 84 default n 85 85 86 + config DEFAULT_UIMAGE 87 + bool 88 + help 89 + Used to allow a board to specify it wants a uImage built by default 90 + default n 91 + 86 92 menu "Processor support" 87 93 choice 88 94 prompt "Processor Type"
+1
arch/powerpc/Makefile
··· 142 142 # Default to zImage, override when needed 143 143 defaultimage-y := zImage 144 144 defaultimage-$(CONFIG_PPC_ISERIES) := vmlinux 145 + defaultimage-$(CONFIG_DEFAULT_UIMAGE) := uImage 145 146 KBUILD_IMAGE := $(defaultimage-y) 146 147 all: $(KBUILD_IMAGE) 147 148