mirror of https://github.com/OpenIPC/firmware.git
[GK710x] Add XM25QH64A
parent
e9487d4321
commit
2c877524a1
|
@ -0,0 +1,27 @@
|
|||
--- a/drivers/mtd/devices/gk_sflash_v1_00.c
|
||||
+++ b/drivers/mtd/devices/gk_sflash_v1_00.c
|
||||
@@ -732,7 +732,23 @@
|
||||
/* lock_mask */ 0xFFFF,
|
||||
/* io4_mask */ 0xFFFF,
|
||||
/* channel */ 0x0,
|
||||
- }
|
||||
+ },
|
||||
+ {
|
||||
+ /* manufacture_ID */ 0x20,
|
||||
+ /* device_ID */ 0x7017,
|
||||
+ /* manufacture_name */ "XMC",
|
||||
+ /* device_name */ "XM25QH64A",
|
||||
+ /* device_bytes */ 8388608,
|
||||
+ /* sector_count */ 128,
|
||||
+ /* sector_bytes */ 65536,
|
||||
+ /* sector_pages */ 256,
|
||||
+ /* page_bytes */ 256,
|
||||
+ /* commands */ &sflash_commands_eon,
|
||||
+ /* feature */ GD_SFLASH_1X_WRITE | GD_SFLASH_1X_READ,
|
||||
+ /* lock_mask */ 0x003C,
|
||||
+ /* io4_mask */ 0xFFFF,
|
||||
+ /* channel */ 0x0,
|
||||
+ },
|
||||
|
||||
};
|
||||
static goke_sflash_feature_e old_feature = GOKE_SFLASH_FEATURE_IO1;
|
Loading…
Reference in New Issue