Update of /cvsroot/blob/blob/include/blob/arch
In directory usw-pr-cvs1:/tmp/cvs-serv2973/include/blob/arch
Modified Files:
idr.h
Log Message:
work around
Index: idr.h
===================================================================
RCS file: /cvsroot/blob/blob/include/blob/arch/idr.h,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- idr.h 2002/01/27 07:07:45 1.4
+++ idr.h 2002/01/27 07:13:46 1.5
@@ -54,7 +54,11 @@
#define KERNEL_FLASH_BASE (PARAM_FLASH_BASE + PARAM_FLASH_LEN)
#define KERNEL_FLASH_LEN ((1024 - 128) * 1024)
#define RAMDISK_FLASH_BASE (KERNEL_FLASH_BASE + KERNEL_FLASH_LEN)
+#ifdef FULL_RAMDISK_SIZE /* blob tries to load the whole image. ugh */
#define RAMDISK_FLASH_LEN (16 * 1024 * 1024 - BLOB_FLASH_LEN - PARAM_FLASH_LEN - KERNEL_FLASH_LEN)
+#else
+#define RAMDISK_FLASH_LEN (4 * 1024 * 1024)
+#endif
/* the position of the kernel boot parameters */
#define BOOT_PARAMS (0xc0000100)
|