From: Tim R. <tim...@us...> - 2002-02-27 03:28:09
|
Update of /cvsroot/blob/blob/include/blob/arch In directory usw-pr-cvs1:/tmp/cvs-serv23058/include/blob/arch Modified Files: idr.h Log Message: don't load ramdisk if it won't fit. Use ramdisk from flash if not downloaded. Index: idr.h =================================================================== RCS file: /cvsroot/blob/blob/include/blob/arch/idr.h,v retrieving revision 1.6 retrieving revision 1.7 diff -u -d -r1.6 -r1.7 --- idr.h 27 Feb 2002 01:44:55 -0000 1.6 +++ idr.h 27 Feb 2002 03:28:04 -0000 1.7 @@ -55,11 +55,8 @@ #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 NOT_ENOUGH_RAM /* we can't fit the entire ramdisk in flash */ #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) |