From: Russ D. <ru...@us...> - 2001-07-23 05:44:29
|
Update of /cvsroot/blob/blob/include In directory usw-pr-cvs1:/tmp/cvs-serv15048/include Modified Files: Tag: blob_1_0_9_hack flash.h main.h Log Message: Initial AMD flash support (tuxscreen) Index: flash.h =================================================================== RCS file: /cvsroot/blob/blob/include/flash.h,v retrieving revision 1.1.1.1.2.4 retrieving revision 1.1.1.1.2.5 diff -u -r1.1.1.1.2.4 -r1.1.1.1.2.5 --- flash.h 2001/07/23 00:28:23 1.1.1.1.2.4 +++ flash.h 2001/07/23 05:44:26 1.1.1.1.2.5 @@ -78,15 +78,15 @@ #define INITRD_LEN 0x280000 #define NUM_INITRD_BLOCKS (INITRD_LEN / MAIN_BLOCK_SIZE) #elif defined SHANNON -#define BLOB_START 0x00000 -#define BLOB_LEN 0x8000 -#define NUM_BLOB_BLOCKS (BLOB_LEN / MAIN_BLOCK_SIZE) -#define KERNEL_START 0x8000 -#define KERNEL_LEN 0xe0000 -#define NUM_KERNEL_BLOCKS (KERNEL_LEN / MAIN_BLOCK_SIZE) +#define BLOB_START (INT_FLASH_BASE) +#define NUM_BLOB_BLOCKS (1) +#define BLOB_LEN (NUM_BLOB_BLOCKS * MAIN_BLOCK_SIZE) +#define KERNEL_START (INT_FLASH_BASE + MAIN_BLOCK_SIZE) +#define NUM_KERNEL_BLOCKS (7) +#define KERNEL_LEN (NUM_KERNEL_BLOCKS * MAIN_BLOCK_SIZE) #define INITRD_START (KERNEL_START + KERNEL_LEN) -#define INITRD_LEN 0x200000 -#define NUM_INITRD_BLOCKS (INITRD_LEN / MAIN_BLOCK_SIZE) +#define NUM_INITRD_BLOCKS (24) +#define INITRD_LEN (NUM_INITRD_BLOCKS * MAIN_BLOCK_SIZE) #else #define BLOB_START (INT_FLASH_BASE) #define NUM_BLOB_BLOCKS (1) Index: main.h =================================================================== RCS file: /cvsroot/blob/blob/include/main.h,v retrieving revision 1.1.1.1.2.4 retrieving revision 1.1.1.1.2.5 diff -u -r1.1.1.1.2.4 -r1.1.1.1.2.5 --- main.h 2001/07/23 00:28:23 1.1.1.1.2.4 +++ main.h 2001/07/23 05:44:26 1.1.1.1.2.5 @@ -41,7 +41,7 @@ /* where does blob live when we download it */ #if defined SHANNON -#define BLOB_RAM_BASE (0xc8000000) +#define BLOB_RAM_BASE (0xc0100000) #else #define BLOB_RAM_BASE (0xc1000000) #endif @@ -59,7 +59,7 @@ #if defined ASSABET # define RAMDISK_RAM_BASE (0xC0800000) #elif defined SHANNON -# define RAMDISK_RAM_BASE (0xC0200000) +# define RAMDISK_RAM_BASE (0xC8000000) #else # define RAMDISK_RAM_BASE (0xC0400000) #endif |