Commit 34b7c669 authored by Matt Porter's avatar Matt Porter Committed by Linus Torvalds

[PATCH] ppc32: add uImage to default targets

We'd like to get a uImage when just using 'make' on many targets.  After
some discussion, it made sense to simply add uImage to the default targets
since it adds minimal build overhead and will work on all platforms.  Also,
fix a dependency in the boot stuff.
Signed-off-by: default avatarMatt Porter <mporter@kernel.crashing.org>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent a784ab71
...@@ -71,7 +71,7 @@ BOOT_TARGETS = zImage zImage.initrd znetboot znetboot.initrd vmlinux.sm ...@@ -71,7 +71,7 @@ BOOT_TARGETS = zImage zImage.initrd znetboot znetboot.initrd vmlinux.sm
.PHONY: $(BOOT_TARGETS) .PHONY: $(BOOT_TARGETS)
all: zImage all: uImage zImage
CPPFLAGS_vmlinux.lds := -Upowerpc CPPFLAGS_vmlinux.lds := -Upowerpc
......
...@@ -102,7 +102,7 @@ decompress_kernel(unsigned long load_addr, int num_words, unsigned long cksum) ...@@ -102,7 +102,7 @@ decompress_kernel(unsigned long load_addr, int num_words, unsigned long cksum)
com_port = serial_init(0, NULL); com_port = serial_init(0, NULL);
#endif #endif
#ifdef CONFIG_44x #if defined(CONFIG_44x) && defined(PPC44x_EMAC0_MR0)
/* Reset MAL */ /* Reset MAL */
mtdcr(DCRN_MALCR(DCRN_MAL_BASE), MALCR_MMSR); mtdcr(DCRN_MALCR(DCRN_MAL_BASE), MALCR_MMSR);
/* Wait for reset */ /* Wait for reset */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment