[U-Boot-Users] [PATCH] mpc885ads: Don't define CONFIG_BZIP2.

Scott Wood scottwood at freescale.com
Wed Aug 15 22:46:46 CEST 2007


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 at 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




More information about the U-Boot mailing list