linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ARM: New option for generating uncompressed uImage.
@ 2010-09-16  7:23 Jonas Aaberg
  2010-09-16  7:36 ` Jean-Christophe PLAGNIOL-VILLARD
  2010-09-16  9:04 ` Russell King - ARM Linux
  0 siblings, 2 replies; 5+ messages in thread
From: Jonas Aaberg @ 2010-09-16  7:23 UTC (permalink / raw)
  To: linux-arm-kernel

Some systems do boot faster with an uncompressed kernel.

Acked-by: Linus Walleij <linus.walleij@stericsson.com>

Signed-off-by: Jonas Aaberg <jonas.aberg@stericsson.com>
---
 arch/arm/Kconfig       |    7 +++++++
 arch/arm/boot/Makefile |    4 ++++
 2 files changed, 11 insertions(+), 0 deletions(-)

diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index 0b52271..7570be5 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -1591,6 +1591,13 @@ config AUTO_ZRELADDR
 	  0xf8000000. This assumes the zImage being placed in the first 128MB
 	  from start of memory.
 
+config UNCOMPRESSED_UIMAGE
+	bool "Uncompressed uImage"
+	help
+	  Some systems do boot faster if an uncompressed kernel is used.
+	  This is depending on your bootloader's flash/mmc read speed
+	  and your CPU speed.
+
 endmenu
 
 menu "CPU Power Management"
diff --git a/arch/arm/boot/Makefile b/arch/arm/boot/Makefile
index 4a590f4..dca3163 100644
--- a/arch/arm/boot/Makefile
+++ b/arch/arm/boot/Makefile
@@ -77,7 +77,11 @@ else
 $(obj)/uImage: STARTADDR=$(LOADADDR)
 endif
 
+ifeq ($(CONFIG_UNCOMPRESSED_UIMAGE),y)
+$(obj)/uImage:	$(obj)/Image FORCE
+else
 $(obj)/uImage:	$(obj)/zImage FORCE
+endif
 	$(call if_changed,uimage)
 	@echo '  Image $@ is ready'
 
-- 
1.6.3.3

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

end of thread, other threads:[~2010-09-16  9:56 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-09-16  7:23 [PATCH] ARM: New option for generating uncompressed uImage Jonas Aaberg
2010-09-16  7:36 ` Jean-Christophe PLAGNIOL-VILLARD
2010-09-16  9:04 ` Russell King - ARM Linux
2010-09-16  9:29   ` Jonas Aaberg
2010-09-16  9:56   ` Jean-Christophe PLAGNIOL-VILLARD

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).