* [edk2-devel] [PATCH 1/1] EmbeddedPkg: Add GD25LB512ME nor flash info
[not found] <cover.1723096787.git.jingyu.li01@sophgo.com>
@ 2024-08-08 6:05 ` Jingyu Li
0 siblings, 0 replies; only message in thread
From: Jingyu Li @ 2024-08-08 6:05 UTC (permalink / raw)
To: devel; +Cc: Jingyu Li, Leif Lindholm
From: Jingyu Li <jingyu.li01@sophgo.com>
Add GigaDevice GD25LB512ME definition to NorFlashInfoLib.
Cc: Leif Lindholm <leif@nuviainc.com>
Signed-off-by: Jingyu Li <jingyu.li01@sophgo.com>
---
EmbeddedPkg/Library/NorFlashInfoLib/NorFlashInfoLib.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/EmbeddedPkg/Library/NorFlashInfoLib/NorFlashInfoLib.c b/EmbeddedPkg/Library/NorFlashInfoLib/NorFlashInfoLib.c
index 422fdac8519b..46ce87d07449 100644
--- a/EmbeddedPkg/Library/NorFlashInfoLib/NorFlashInfoLib.c
+++ b/EmbeddedPkg/Library/NorFlashInfoLib/NorFlashInfoLib.c
@@ -42,6 +42,7 @@ STATIC CONST NOR_FLASH_INFO NorFlashIds[] = {
{ L"gd25q128", { 0xc8, 0x40, 0x18 }, 3, 256, 64 * 1024, 256, NOR_FLASH_ERASE_4K },
{ L"gd25lq128", { 0xc8, 0x60, 0x18 }, 3, 256, 64 * 1024, 256, NOR_FLASH_ERASE_4K },
{ L"gd25q256", { 0xc8, 0x40, 0x19 }, 3, 256, 64 * 1024, 512, NOR_FLASH_ERASE_4K },
+ { L"gd25lb512me", { 0xc8, 0x67, 0x1a }, 3, 256, 64 * 1024, 1024, NOR_FLASH_ERASE_4K | NOR_FLASH_4B_ADDR },
/* ISSI */
{ L"is25lp032", { 0x9d, 0x60, 0x16 }, 3, 256, 64 * 1024, 64, 0 },
{ L"is25lp064", { 0x9d, 0x60, 0x17 }, 3, 256, 64 * 1024, 128, 0 },
--
2.34.1
-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#120294): https://edk2.groups.io/g/devel/message/120294
Mute This Topic: https://groups.io/mt/107789522/7686176
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io]
-=-=-=-=-=-=-=-=-=-=-=-
^ permalink raw reply related [flat|nested] only message in thread