linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ARM: add support for uncompressed uImage kernel
@ 2010-11-09 13:50 Alexander Stein
  2010-11-09 14:04 ` Russell King - ARM Linux
  2010-11-09 14:57 ` Uwe Kleine-König
  0 siblings, 2 replies; 10+ messages in thread
From: Alexander Stein @ 2010-11-09 13:50 UTC (permalink / raw)
  To: linux-arm-kernel

Signed-off-by: Alexander Stein <alexander.stein@systec-electronic.com>
---
 arch/arm/boot/Makefile |   10 ++++++++--
 init/Kconfig           |    7 +++++++
 2 files changed, 15 insertions(+), 2 deletions(-)

diff --git a/arch/arm/boot/Makefile b/arch/arm/boot/Makefile
index 4a590f4..37618b8 100644
--- a/arch/arm/boot/Makefile
+++ b/arch/arm/boot/Makefile
@@ -77,11 +77,17 @@ else
 $(obj)/uImage: STARTADDR=$(LOADADDR)
 endif
 
-$(obj)/uImage:	$(obj)/zImage FORCE
+ifeq ($(CONFIG_KERNEL_NONE),y)
+ARM_IMAGE := Image
+else
+ARM_IMAGE := zImage
+endif
+
+$(obj)/uImage:	$(obj)/$(ARM_IMAGE) FORCE
 	$(call if_changed,uimage)
 	@echo '  Image $@ is ready'
 
-$(obj)/bootp/bootp: $(obj)/zImage initrd FORCE
+$(obj)/bootp/bootp: $(obj)/$(ARM_IMAGE) initrd FORCE
 	$(Q)$(MAKE) $(build)=$(obj)/bootp $@
 	@:
 
diff --git a/init/Kconfig b/init/Kconfig
index 88c1046..355d7a5 100644
--- a/init/Kconfig
+++ b/init/Kconfig
@@ -155,6 +155,13 @@ choice
 
 	  If in doubt, select 'gzip'
 
+config KERNEL_NONE
+	bool "None"
+	depends on ARM
+	help
+	  If you want to use get a fast startup at the cost of kernel size
+	  you can use an uncompressed kernel.
+
 config KERNEL_GZIP
 	bool "Gzip"
 	depends on HAVE_KERNEL_GZIP
-- 
1.7.2.2

^ permalink raw reply related	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2010-11-18 10:18 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-11-09 13:50 [PATCH] ARM: add support for uncompressed uImage kernel Alexander Stein
2010-11-09 14:04 ` Russell King - ARM Linux
2010-11-09 14:51   ` Uwe Kleine-König
2010-11-09 22:38   ` Sascha Hauer
2010-11-13 10:47   ` Albin Tonnerre
2010-11-18  7:38     ` Alexander Stein
2010-11-18  8:15       ` Uwe Kleine-König
2010-11-18  9:10       ` Russell King - ARM Linux
2010-11-18 10:18         ` Alexander Stein
2010-11-09 14:57 ` Uwe Kleine-König

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).