summaryrefslogtreecommitdiff
path: root/board/prodrive/common/flash.c
diff options
context:
space:
mode:
authorroy zang <tie-fei.zang@freescale.com>2006-11-29 09:45:03 +0800
committerZang Tiefei <roy@bus.ap.freescale.net>2006-11-29 09:45:03 +0800
commit6bd87c0aeea441c49d59fd542b84a9be88d08b17 (patch)
treee450a5f1e69a78a203a1e15167d7fefa43c5ce7e /board/prodrive/common/flash.c
parent0a8eb59983047ae3bcc0babf3ee4d10d01abe7da (diff)
parentd2c83f549378fb3fc34cb3c2e62fd772fbf8b68b (diff)
downloadu-boot-imx-6bd87c0aeea441c49d59fd542b84a9be88d08b17.zip
u-boot-imx-6bd87c0aeea441c49d59fd542b84a9be88d08b17.tar.gz
u-boot-imx-6bd87c0aeea441c49d59fd542b84a9be88d08b17.tar.bz2
Solve the copyright conflicts when merging 'master' into hpc2.
Merge branch 'master' into hpc2 Conflicts: drivers/cfi_flash.c
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;