diff options
author | wdenk <wdenk> | 2003-05-22 22:52:13 (GMT) |
---|---|---|
committer | wdenk <wdenk> | 2003-05-22 22:52:13 (GMT) |
commit | 5d232d0e7ea982d859d028ab482d95eb68460b19 (patch) | |
tree | a02c773fa4be5687f8f97d053ebd9afebbfaa54f /board/fads | |
parent | c8c3a8be2dd09e51d7dc33f431e3a638ac5688f2 (diff) | |
download | u-boot-fsl-qoriq-5d232d0e7ea982d859d028ab482d95eb68460b19.tar.xz |
* Patch by Dave Ellis, 22 May 2003:
Fix problem with only partially cleared .bss segment
* Patch by Rune Torgersen, 12 May 2003:
get PCI to work on a MPC8266ADS board; incorporate change to
cpu/mpc8260/pci.c to enable overrides of PCI memory parameters
Diffstat (limited to 'board/fads')
-rw-r--r-- | board/fads/fads.c | 1 | ||||
-rw-r--r-- | board/fads/flash.c | 10 |
2 files changed, 10 insertions, 1 deletions
diff --git a/board/fads/fads.c b/board/fads/fads.c index 3b97f51..8714689 100644 --- a/board/fads/fads.c +++ b/board/fads/fads.c @@ -208,6 +208,7 @@ int checkboard (void) case 0x22 : case 0x23 : case 0x24 : + case 0x2a : case 0x3f : puts ("FADS"); break; diff --git a/board/fads/flash.c b/board/fads/flash.c index 50b496e..22a7c41 100644 --- a/board/fads/flash.c +++ b/board/fads/flash.c @@ -147,7 +147,7 @@ static void flash_get_offsets (ulong base, flash_info_t *info) int i; /* set up sector start address table */ - if ((info->flash_id & FLASH_TYPEMASK) == FLASH_AM040) { + if ((info->flash_id & FLASH_TYPEMASK) == FLASH_AM040 || (info->flash_id & FLASH_TYPEMASK) == FLASH_AM080 ) { /* set sector offsets for uniform sector type */ for (i = 0; i < info->sector_count; i++) { info->start[i] = base + (i * 0x00040000); @@ -179,6 +179,8 @@ void flash_print_info (flash_info_t *info) { case FLASH_AM040: printf ("29F040 or 29LV040 (4 Mbit, uniform sectors)\n"); break; + case FLASH_AM080: printf ("29F080 or 29LV080 (8 Mbit, uniform sectors)\n"); + break; case FLASH_AM400B: printf ("AM29LV400B (4 Mbit, bottom boot sect)\n"); break; case FLASH_AM400T: printf ("AM29LV400T (4 Mbit, top boot sector)\n"); @@ -278,6 +280,12 @@ static ulong flash_get_size (vu_long *addr, flash_info_t *info) info->size = 0x00200000; break; /* => 2 MB */ + case AMD_ID_F080B: + info->flash_id += FLASH_AM080; + info->sector_count =16; + info->size = 0x00400000; + break; /* => 4 MB */ + case AMD_ID_LV400T: info->flash_id += FLASH_AM400T; info->sector_count = 11; |