diff packages/devs/flash/intel/strata/current/src/strata.c @ 1480:b657b20a6ea2

Support for STMicro chips
author gthomas
date Mon, 26 Jan 2004 23:59:10 +0000
parents 46540206b407
children 96ec7e534d98
line wrap: on
line diff
--- a/packages/devs/flash/intel/strata/current/src/strata.c
+++ b/packages/devs/flash/intel/strata/current/src/strata.c
@@ -74,7 +74,8 @@ flash_hwr_init(void)
 
     flash_dev_query(&data);
     qp = &data;
-    if ( (qp->manuf_code == FLASH_Intel_code)
+    if ( ((qp->manuf_code == FLASH_Intel_code) || 
+          (qp->manuf_code == FLASH_STMicro_code))
 #ifdef CYGOPT_FLASH_IS_BOOTBLOCK
          // device types go as follows: 0x90 for 16-bits, 0xD0 for 8-bits,
          // plus 0 or 1 for -T (Top Boot) or -B (Bottom Boot)