summaryrefslogtreecommitdiff
path: root/board/prodrive/common/flash.c
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2006-10-07 11:35:25 +0200
committerStefan Roese <sr@denx.de>2006-10-07 11:35:25 +0200
commit5bc528fa4da751d472397b308137238a6465afd2 (patch)
tree9cd3d9702b7b92cffa166ea7a0bd8fdcf1a964a7 /board/prodrive/common/flash.c
parent77d5034847d328753b80c46b83f960a14a26f40e (diff)
downloadu-boot-imx-5bc528fa4da751d472397b308137238a6465afd2.zip
u-boot-imx-5bc528fa4da751d472397b308137238a6465afd2.tar.gz
u-boot-imx-5bc528fa4da751d472397b308137238a6465afd2.tar.bz2
Update ALPR code (NAND support working now)
Patch by Stefan Roese, 07 Oct 2006
Diffstat (limited to 'board/prodrive/common/flash.c')
-rw-r--r--board/prodrive/common/flash.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/board/prodrive/common/flash.c b/board/prodrive/common/flash.c
index 8630cc1..363631f 100644
--- a/board/prodrive/common/flash.c
+++ b/board/prodrive/common/flash.c
@@ -48,6 +48,7 @@ void flash_print_info(flash_info_t *info)
case FLASH_MAN_AMD: printf ("AMD "); break;
case FLASH_MAN_FUJ: printf ("FUJITSU "); break;
case FLASH_MAN_SST: printf ("SST "); break;
+ case FLASH_MAN_STM: printf ("ST "); break;
case FLASH_MAN_EXCEL: printf ("Excel Semiconductor "); break;
default: printf ("Unknown Vendor "); break;
}
@@ -156,6 +157,9 @@ static ulong flash_get_size(vu_long *addr, flash_info_t *info)
case (CFG_FLASH_WORD_SIZE)SST_MANUFACT:
info->flash_id = FLASH_MAN_SST;
break;
+ case (CFG_FLASH_WORD_SIZE)STM_MANUFACT:
+ info->flash_id = FLASH_MAN_STM;
+ break;
case (CFG_FLASH_WORD_SIZE)EXCEL_MANUFACT:
info->flash_id = FLASH_MAN_EXCEL;
break;