From af111e25a9d00c3d99eae6196c616461cfdfb193 Mon Sep 17 00:00:00 2001 From: Stefan Tauner Date: Sun, 8 Oct 2017 05:44:10 +0200 Subject: Fix ID of ST M25P05 The (old) ST (now Micron) M25P05 does only support RES for identification. Unfortunately, the vendor datasheet states the same ID as for the M25P10 (0x10) and thus flashrom has treated these two as evil twins in the past. However, real hardware confirmed that the real ID of this chip is 0x05. Change-Id: Idc75f8cb98e7ef0c47c4527cedcc4da3723bd779 Signed-off-by: Serge Vasilugin Tested-by: Serge Vasilugin Reviewed-on: https://review.coreboot.org/21920 Reviewed-by: Nico Huber Tested-by: build bot (Jenkins) --- flashchips.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/flashchips.h b/flashchips.h index bff0c98f..62eb9a5e 100644 --- a/flashchips.h +++ b/flashchips.h @@ -749,9 +749,9 @@ */ #define ST_ID 0x20 /* ST / SGS/Thomson / Numonyx (later acquired by Micron) */ #define ST_M25P05A 0x2010 -#define ST_M25P05_RES 0x10 /* Same code as M25P10. */ +#define ST_M25P05_RES 0x05 #define ST_M25P10A 0x2011 -#define ST_M25P10_RES 0x10 /* Same code as M25P05. */ +#define ST_M25P10_RES 0x10 #define ST_M25P20 0x2012 #define ST_M25P20_RES 0x11 #define ST_M25P40 0x2013 -- cgit v1.2.3