All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot-Users] [PATCH] mpc885ads: Don't define CONFIG_BZIP2.
@ 2007-08-15 20:46 Scott Wood
  2007-08-15 21:12 ` Wolfgang Denk
  2007-08-16 10:06 ` Wolfgang Denk
  0 siblings, 2 replies; 7+ messages in thread
From: Scott Wood @ 2007-08-15 20:46 UTC (permalink / raw)
  To: u-boot

bzip2 requires a significant chunk of malloc space, and there isn't
enough room on mpc885ads (with only 8MB RAM) for both bzip2's malloc area
and a downloaded image at 0x400000.

Signed-off-by: Scott Wood <scottwood@freescale.com>
---
 board/fads/fads.h |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/board/fads/fads.h b/board/fads/fads.h
index c6f7ccd..2d0a6c0 100644
--- a/board/fads/fads.h
+++ b/board/fads/fads.h
@@ -71,7 +71,10 @@
 #undef CONFIG_BOOTARGS
 
 #undef	CONFIG_WATCHDOG			/* watchdog disabled		*/
+
+#if !defined(CONFIG_MPC885ADS)
 #define CONFIG_BZIP2	 /* include support for bzip2 compressed images */
+#endif
 
 /*
  * New MPC86xADS and MPC885ADS provide two Ethernet connectivity options:
-- 
1.5.0.3

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

end of thread, other threads:[~2007-08-16 10:06 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-08-15 20:46 [U-Boot-Users] [PATCH] mpc885ads: Don't define CONFIG_BZIP2 Scott Wood
2007-08-15 21:12 ` Wolfgang Denk
2007-08-15 21:16   ` Scott Wood
2007-08-15 21:59     ` Wolfgang Denk
2007-08-15 22:16       ` Scott Wood
2007-08-16 10:05         ` Wolfgang Denk
2007-08-16 10:06 ` Wolfgang Denk

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.