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
Sun May 6 20:39:26 UTC 2012


For supporting the flash on a Motorola C118.

Note:
Flashing rssi on it worked fine.

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

diff --git a/src/target/firmware/flash/cfi_flash.c b/src/target/firmware/flash/cfi_flash.c
index 69369d5..8ecd206 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,8 +533,7 @@ int flash_init(flash_t * flash, void *base_addr)
 	if (res) {
 		return res;
 	}
-	if (m_id != CFI_MANUF_INTEL) {
-		/* we only support intel devices */
+	if (m_id != CFI_MANUF_INTEL && m_id != CFI_MANUF_ST) {
 		return -ENOTSUP;
 	}
 
-- 
1.7.8.6


--------------090106030808000805030408--




More information about the baseband-devel mailing list