diff packages/redboot/current/cdl/redboot.cdl @ 307:906a5d289c6d

Better memory use vis FIS & ZLIB - from Thomas Koeller
author gthomas
date Sat, 24 Aug 2002 11:34:49 +0000
parents eb332fa195ca
children b928cfca72fc
line wrap: on
line diff
--- a/packages/redboot/current/cdl/redboot.cdl
+++ b/packages/redboot/current/cdl/redboot.cdl
@@ -833,6 +833,28 @@ cdl_package CYGPKG_REDBOOT {
 	    no_define
 	}
     }
+
+    cdl_component CYGOPT_REDBOOT_FIS_ZLIB_COMMON_BUFFER {
+    	display     	"Use a common buffer for Zlib and FIS"
+	flavor	    	bool
+	active_if   	{ CYGBLD_BUILD_REDBOOT_WITH_ZLIB && \
+    	    	    	  CYGOPT_REDBOOT_FIS }
+	default_value	0
+	description 	"
+	    Use a common memory buffer for both the zlib workspace
+	    and FIS directory operations. This can save a substantial
+	    amount of RAM, especially when flash sectors are large."
+
+    	cdl_option CYGNUM_REDBOOT_FIS_ZLIB_COMMON_BUFFER_SIZE {
+	    display 	    "Size of Zlib/FIS common buffer"
+	    flavor  	    data
+	    default_value   0xc000
+	    legal_values    0x4000 to 0x80000000
+	    description     "
+	    	Size of common buffer to allocate. Must be at least the
+		size of one flash sector."
+	}
+    }
 }
 
 # EOF redboot.cdl