aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Huynh <voxlympha@gmail.com>2021-12-27 13:07:29 +1100
committerDaniel Golle <daniel@makrotopia.org>2022-03-21 13:11:56 +0000
commit4b51fa0d808fef51bbb1550f9d971b1faeea0643 (patch)
tree4858ba005ee85b400dda178a82e143615ba0d736
parenta036c1d43bfb494fb87925e55e96bb5d3058060d (diff)
downloadupstream-4b51fa0d808fef51bbb1550f9d971b1faeea0643.tar.gz
upstream-4b51fa0d808fef51bbb1550f9d971b1faeea0643.tar.bz2
upstream-4b51fa0d808fef51bbb1550f9d971b1faeea0643.zip
mediatek: Add GD5F1GQ5xExxG to mtk-snand
Some units of the Xiaomi Redmi Router AX6S/Xiaomi Router AX3200 contain this part. Signed-off-by: Richard Huynh <voxlympha@gmail.com> (cherry picked from commit 4177de10df384e0106191e5b204b0aa11431fe77)
-rw-r--r--target/linux/mediatek/files-5.10/drivers/mtd/mtk-snand/mtk-snand-ids.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/target/linux/mediatek/files-5.10/drivers/mtd/mtk-snand/mtk-snand-ids.c b/target/linux/mediatek/files-5.10/drivers/mtd/mtk-snand/mtk-snand-ids.c
index 1756ff7e30..89c72c10a5 100644
--- a/target/linux/mediatek/files-5.10/drivers/mtd/mtk-snand/mtk-snand-ids.c
+++ b/target/linux/mediatek/files-5.10/drivers/mtd/mtk-snand/mtk-snand-ids.c
@@ -131,6 +131,10 @@ static const struct snand_flash_info snand_flash_ids[] = {
SNAND_MEMORG_4G_2K_64,
&snand_cap_read_from_cache_quad_q2d,
&snand_cap_program_load_x4),
+ SNAND_INFO("GD5F1GQ5xExxG", SNAND_ID(SNAND_ID_DYMMY, 0xc8, 0x51),
+ SNAND_MEMORG_1G_2K_128,
+ &snand_cap_read_from_cache_quad_q2d,
+ &snand_cap_program_load_x4),
SNAND_INFO("GD5F2GQ5UExxG", SNAND_ID(SNAND_ID_DYMMY, 0xc8, 0x52),
SNAND_MEMORG_2G_2K_128,
&snand_cap_read_from_cache_quad_q2d,