Adding the manufacturer id of STMicroelectronics

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/baseband-devel@lists.osmocom.org/.

Christian Inci chris.pcguy.inci at gmail.com
Fri May 4 05:42:06 UTC 2012


For supporting the flash on a Motorola C118.

Signed-off-by: Christian Inci <chris.pcguy.inci at gmail.com>
---
 src/target/firmware/flash/cfi_flash.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/src/target/firmware/flash/cfi_flash.c b/src/target/firmware/flash/cfi_flash.c
index 69369d5..474dcbb 100644
--- a/src/target/firmware/flash/cfi_flash.c
+++ b/src/target/firmware/flash/cfi_flash.c
@@ -71,6 +71,7 @@ struct cfi_query {
 
 /* manufacturer ids */
 enum cfi_manuf {
+	CFI_MANUF_ST    = 0x0020,
 	CFI_MANUF_INTEL = 0x0089,
 };
 
@@ -532,7 +533,7 @@ int flash_init(flash_t * flash, void *base_addr)
 	if (res) {
 		return res;
 	}
-	if (m_id != CFI_MANUF_INTEL) {
+	if (m_id != CFI_MANUF_INTEL && m_id != CFI_MANUF_ST) {
 		/* we only support intel devices */
 		return -ENOTSUP;
 	}
-- 
1.7.8.6



--------------020907080906030400030607--




More information about the baseband-devel mailing list