From: Stefan E. <se...@us...> - 2003-08-22 02:18:12
|
Update of /cvsroot/blob/blob/include/blob/arch In directory sc8-pr-cvs1:/tmp/cvs-serv31104/include/blob/arch Modified Files: system3.h Log Message: system 3 rev 0802 flash defines Index: system3.h =================================================================== RCS file: /cvsroot/blob/blob/include/blob/arch/system3.h,v retrieving revision 1.19 retrieving revision 1.20 diff -u -d -r1.19 -r1.20 --- system3.h 1 Apr 2003 19:04:07 -0000 1.19 +++ system3.h 21 Aug 2003 12:43:44 -0000 1.20 @@ -59,23 +59,27 @@ #define PARAM_RAM_BASE (0xc0110000) #define RAMDISK_RAM_BASE (0xC0400000) +/* hmm, do i need these ? */ +#define PARAM_FLASH_BASE (0x00040000) +#define PARAM_FLASH_LEN (256 * 1024) + /* and where do they live in flash */ #define BLOB_FLASH_BASE (0x00000000) -#define BLOB_FLASH_LEN (256 * 1024) -#define PARAM_FLASH_BASE (0x00040000) -#define PARAM_FLASH_LEN (256 * 1024) -#define CONFIG_FLASH_BASE (0x00040000) -#define CONFIG_FLASH_LEN (256 * 1024) -#define KERNEL_FLASH_BASE (0x00080000) -#define KERNEL_FLASH_LEN (1024 * 1024) +#define BLOB_FLASH_LEN (0x00040000) +#define CONFIG_FLASH_BASE (BLOB_FLASH_BASE + BLOB_FLASH_LEN) +#define CONFIG_FLASH_LEN (0x00040000) +#define KERNEL_FLASH_BASE (CONFIG_FLASH_BASE + CONFIG_FLASH_LEN) +#define KERNEL_FLASH_LEN (0x00100000) +#define RAMDISK_FLASH_BASE (KERNEL_FLASH_BASE + KERNEL_FLASH_LEN) +#define RAMDISK_FLASH_LEN (0x00180000) +#define ROOTFS_FLASH_BASE (RAMDISK_FLASH_BASE + RAMDISK_FLASH_LEN) +#define ROOTFS_FLASH_LEN (0x00700000) +#define DATAFS_FLASH_BASE (ROOTFS_FLASH_BASE + ROOTFS_FLASH_LEN) +#define DATAFS_FLASH_LEN (0x015c0000) +#define XDATAFS_FLASH_BASE (DATAFS_FLASH_BASE + DATAFS_FLASH_LEN) +#define XDATAFS_FLASH_LEN (0x00040000) #define LOAD_RAMDISK 1 /* load ramdisk into ram */ -#define RAMDISK_FLASH_BASE (0x00180000) -#define RAMDISK_FLASH_LEN (1536 * 1024) -#define ROOTFS_FLASH_BASE (0x00300000) -#define ROOTFS_FLASH_LEN (0x00600000) /* 6M */ -#define DATAFS_FLASH_BASE (0x00900000) -#define DATAFS_FLASH_LEN (0x00700000) /* 7M */ /* system3 RAM pool for up/downloading */ #if !defined(CONFIG_SYSTEM3_REV0802) @@ -83,7 +87,7 @@ #define RAM_SIZE (16*1024*1024) #else #define RAM_START (0xc1000000) -#define RAM_SIZE (16*1024*1024) +#define RAM_SIZE (0x03000000) #endif |