SPI flash ID patches
These are a pair of patches adding some SPI flashes that were evaluated on a Marvell Kirkwood system.
PATCH 1/2 SPI: Add S25FL064A and S25FL116K flash information
From: Adnan Ali <[email protected]>
Add S25FL064A and S25FL116K flash indentifiers.
--- drivers/mtd/spi/sf_params.c | 2 ++ 1 file changed, 2 insertions(+)
drivers/mtd/spi/sf_params.c +2 -0
@@ -51,6 +51,8 @@ const struct spi_flash_params spi_flash_params_table[] = { {"S25FL016A", 0x010214, 0x0, 64 * 1024, 32, 0, 0}, {"S25FL032A", 0x010215, 0x0, 64 * 1024, 64, 0, 0}, {"S25FL064A", 0x010216, 0x0, 64 * 1024, 128, 0, 0}, + {"S25FL064A", 0x010216, 0x0, 64 * 1024, 128, 0, 0}, + {"S25FL116k", 0x014015, 0x0, 64 * 1024, 128, 0, 0}, {"S25FL128P_256K", 0x012018, 0x0300, 256 * 1024, 64, RD_FULL, WR_QPP}, {"S25FL128P_64K", 0x012018, 0x0301, 64 * 1024, 256, RD_FULL, WR_QPP}, {"S25FL032P", 0x010215, 0x4d00, 64 * 1024, 64, RD_FULL, WR_QPP},
Signature · 1 line
2.1.1
PATCH 2/2 SPI: Add S25FL164K flash identifier info
In reply to Ben DooksAdd the necessary flash entry for the Spansion S25FL164K flash. Tested on Marvell 88F6218 based design.
--- drivers/mtd/spi/sf_params.c | 1 + 1 file changed, 1 insertion(+)
drivers/mtd/spi/sf_params.c +1 -0
@@ -53,6 +53,7 @@ const struct spi_flash_params spi_flash_params_table[] = { {"S25FL064A", 0x010216, 0x0, 64 * 1024, 128, 0, 0}, {"S25FL064A", 0x010216, 0x0, 64 * 1024, 128, 0, 0}, {"S25FL116k", 0x014015, 0x0, 64 * 1024, 128, 0, 0}, + {"S25FL164K", 0x014017, 0x0140, 64 * 1024, 128, 0, 0}, {"S25FL128P_256K", 0x012018, 0x0300, 256 * 1024, 64, RD_FULL, WR_QPP}, {"S25FL128P_64K", 0x012018, 0x0301, 64 * 1024, 256, RD_FULL, WR_QPP}, {"S25FL032P", 0x010215, 0x4d00, 64 * 1024, 64, RD_FULL, WR_QPP},
Signature · 1 line
2.1.1
PATCH 1/2 SPI: Add S25FL064A and S25FL116K flash information
In reply to Ben DooksQuoted 14 lines · Ben Dooks
From: Adnan Ali <[email protected]>
Add S25FL064A and S25FL116K flash indentifiers.
Signed-off-by Adnan Ali <[email protected]>--- drivers/mtd/spi/sf_params.c | 2 ++ 1 file changed, 2 insertions(+)drivers/mtd/spi/sf_params.c +0
-0
drivers/mtd/spi/sf_params.c const struct spi_flash_params spi_flash_params_table[] = { · line 54
Quoted 4 lines
drivers/mtd/spi/sf_params.c +1
-0@@ -51,6 +51,8 @@ const struct spi_flash_params spi_flash_params_table[] = { {"S25FL016A", 0x010214, 0x0, 64 * 1024, 32, 0, 0}, {"S25FL032A", 0x010215, 0x0, 64 * 1024, 64, 0, 0}, {"S25FL064A", 0x010216, 0x0, 64 * 1024, 128, 0, 0}, + {"S25FL064A", 0x010216, 0x0, 64 * 1024, 128, 0, 0},
What is this, already there the same part - any new?
drivers/mtd/spi/sf_params.c const struct spi_flash_params spi_flash_params_table[] = { · line 55
Quoted 1 line
drivers/mtd/spi/sf_params.c +1
-0+ {"S25FL116k", 0x014015, 0x0, 64 * 1024, 128, 0, 0},
Is this tested! can you rebase master and send the same patches.
Quoted 6 lines
drivers/mtd/spi/sf_params.c +0
-1{"S25FL128P_256K", 0x012018, 0x0300, 256 * 1024, 64, RD_FULL, WR_QPP}, {"S25FL128P_64K", 0x012018, 0x0301, 64 * 1024, 256, RD_FULL, WR_QPP}, {"S25FL032P", 0x010215, 0x4d00, 64 * 1024, 64, RD_FULL, WR_QPP}, --2.1.1
thanks!
Signature · 1 line
Jagan.
PATCH 1/2 SPI: Add S25FL064A and S25FL116K flash information
Quoted 10 lines · Jagan Teki
Quoted 9 lines · Ben Dooks
From: Adnan Ali <[email protected]>
Add S25FL064A and S25FL116K flash indentifiers.
Signed-off-by Adnan Ali <[email protected]>--- drivers/mtd/spi/sf_params.c | 2 ++ 1 file changed, 2 insertions(+)
Quoted 11 lines
drivers/mtd/spi/sf_params.c const struct spi_flash_params spi_flash_params_table[] = { · line 54
Quoted 9 lines
drivers/mtd/spi/sf_params.c +1
-0@@ -51,6 +51,8 @@ const struct spi_flash_params spi_flash_params_table[] = { {"S25FL016A", 0x010214, 0x0, 64 * 1024, 32, 0, 0}, {"S25FL032A", 0x010215, 0x0, 64 * 1024, 64, 0, 0}, {"S25FL064A", 0x010216, 0x0, 64 * 1024, 128, 0, 0}, + {"S25FL064A", 0x010216, 0x0, 64 * 1024, 128, 0, 0},What is this, already there the same part - any new?
I must have missed this when re-basing off the previous u-boot.
Quoted 3 lines
drivers/mtd/spi/sf_params.c const struct spi_flash_params spi_flash_params_table[] = { · line 55
Quoted 1 line
drivers/mtd/spi/sf_params.c +1
-0+ {"S25FL116k", 0x014015, 0x0, 64 * 1024, 128, 0, 0},Is this tested! can you rebase master and send the same patches.
Yes, it was one of the devices we looked at and tested on a Marvell 88F6281 based system.
Quoted 9 lines
Quoted 6 lines
drivers/mtd/spi/sf_params.c +0
-1{"S25FL128P_256K", 0x012018, 0x0300, 256 * 1024, 64, RD_FULL, WR_QPP}, {"S25FL128P_64K", 0x012018, 0x0301, 64 * 1024, 256, RD_FULL, WR_QPP}, {"S25FL032P", 0x010215, 0x4d00, 64 * 1024, 64, RD_FULL, WR_QPP}, --2.1.1
thanks!
Signature · 2 lines
Ben Dooks http://www.codethink.co.uk/ Senior Engineer Codethink - Providing Genius
PATCH 1/2 SPI: Add S25FL064A and S25FL116K flash information
Quoted 23 lines · Ben Dooks
Quoted 10 lines · Jagan Teki
Quoted 9 lines · Ben Dooks
From: Adnan Ali <[email protected]>
Add S25FL064A and S25FL116K flash indentifiers.
Signed-off-by Adnan Ali <[email protected]>--- drivers/mtd/spi/sf_params.c | 2 ++ 1 file changed, 2 insertions(+)Quoted 11 lines
drivers/mtd/spi/sf_params.c const struct spi_flash_params spi_flash_params_table[] = { · line 54
Quoted 9 lines
drivers/mtd/spi/sf_params.c +1
-0@@ -51,6 +51,8 @@ const struct spi_flash_params spi_flash_params_table[] = { {"S25FL016A", 0x010214, 0x0, 64 * 1024, 32, 0, 0}, {"S25FL032A", 0x010215, 0x0, 64 * 1024, 64, 0, 0}, {"S25FL064A", 0x010216, 0x0, 64 * 1024, 128, 0, 0}, + {"S25FL064A", 0x010216, 0x0, 64 * 1024, 128, 0, 0},What is this, already there the same part - any new?
Quoted 15 lines
I must have missed this when re-basing off the previous u-boot.
Quoted 3 lines
drivers/mtd/spi/sf_params.c const struct spi_flash_params spi_flash_params_table[] = { · line 55
Quoted 1 line
drivers/mtd/spi/sf_params.c +1
-0+ {"S25FL116k", 0x014015, 0x0, 64 * 1024, 128, 0, 0},Is this tested! can you rebase master and send the same patches.
Yes, it was one of the devices we looked at and tested on a Marvell 88F6281 based system.
Quoted 6 lines
Quoted 6 lines
drivers/mtd/spi/sf_params.c +0
-1{"S25FL128P_256K", 0x012018, 0x0300, 256 * 1024, 64, RD_FULL, WR_QPP}, {"S25FL128P_64K", 0x012018, 0x0301, 64 * 1024, 256, RD_FULL, WR_QPP}, {"S25FL032P", 0x010215, 0x4d00, 64 * 1024, 64, RD_FULL, WR_QPP}, --2.1.1
Applied to u-boot-spi/master
thanks!
Signature · 1 line
Jagan.
PATCH 2/2 SPI: Add S25FL164K flash identifier info
In reply to Ben DooksQuoted 21 lines · Ben Dooks
Add the necessary flash entry for the Spansion S25FL164K flash. Tested on Marvell 88F6218 based design.
Signed-off-by Ben Dooks <[email protected]>--- drivers/mtd/spi/sf_params.c | 1 + 1 file changed, 1 insertion(+)drivers/mtd/spi/sf_params.c +1
-1@@ -53,6 +53,7 @@ const struct spi_flash_params spi_flash_params_table[] = { {"S25FL064A", 0x010216, 0x0, 64 * 1024, 128, 0, 0}, {"S25FL064A", 0x010216, 0x0, 64 * 1024, 128, 0, 0}, {"S25FL116k", 0x014015, 0x0, 64 * 1024, 128, 0, 0}, + {"S25FL164K", 0x014017, 0x0140, 64 * 1024, 128, 0, 0}, {"S25FL128P_256K", 0x012018, 0x0300, 256 * 1024, 64, RD_FULL, WR_QPP}, {"S25FL128P_64K", 0x012018, 0x0301, 64 * 1024, 256, RD_FULL, WR_QPP}, {"S25FL032P", 0x010215, 0x4d00, 64 * 1024, 64, RD_FULL, WR_QPP}, --
Quoted 2 lines
2.1.1
Applied to u-boot-spi/master
thanks!
Signature · 1 line
Jagan.