Skip to contentSkip to conversation

Add uImage to default targets

PATCH New Matt Porter 1 participant 1 message Dec 15, 2004

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

===== arch/ppc/Makefile 1.66 vs edited =====

arch/ppc/Makefile +1 -1
@@ -68,7 +68,7 @@
 
 .PHONY: $(BOOT_TARGETS)
 
-all: zImage
+all: uImage zImage
 
 CPPFLAGS_vmlinux.lds	:= -Upowerpc
 

===== arch/ppc/boot/simple/misc.c 1.24 vs edited =====

arch/ppc/boot/simple/misc.c +1 -1
@@ -102,7 +102,7 @@
 	com_port = serial_init(0, NULL);
 #endif
 
-#ifdef CONFIG_44x
+#if defined(CONFIG_44x) && defined(PPC44x_EMAC0_MR0)
 	/* Reset MAL */
 	mtdcr(DCRN_MALCR(DCRN_MAL_BASE), MALCR_MMSR);
 	/* Wait for reset */