Browse Source

Support GD28LQ128 QSPI flash

Signed-off-by: MichaelZhuxx <michael.zhu@starfivetech.com>
MichaelZhuxx 2 years ago
parent
commit
d086aeeefc
1 changed files with 3 additions and 2 deletions
  1. 3 2
      spi/spi_probe.c

+ 3 - 2
spi/spi_probe.c

@@ -154,8 +154,9 @@ static const struct spi_flash_params spi_flash_table[] =
 	//{"IS25WP256D",		0x19609d,   8,16,16,256, NOR},
 	//{"MT25QL256ABA",    0x19ba20,   8,16,16,256, NOR},
 	 //{"GD25LB64C",	   	0x1760C8,   8,16,16,256, NOR},
-	 {"S25FL512S_512K", 0x200201, 8,16,64,256, NOR},
-	 {"GD25LQ256D", 0x1960C8, 8,16,16,512, NOR},
+	{"S25FL512S_512K", 0x200201, 8,16,64,256, NOR},
+	{"GD25LQ256D", 0x1960C8, 8,16,16,512, NOR},
+	{"GD25LQ128", 0x1960C8, 8,16,16,256, NOR},
 	//{"GD25LB64B",	   	0xC86017,   8,16,16,256, NOR},
 	//{"NORMAL",			0x000000,	8,16,16,	1,	NOR},