block/m25p80: Update Micron entries
PATCH 1/1 block/m25p80: Update Micron entries
- Split 32Mb and 256Mb parts into a11 and a13 variants.
- Add the 4K sector flag to the 128Mb parts. (These entries were taken from the Linux kernel list, which is missing the flag.)
- Fill out the table of sizes with entries for 64Mb parts.
Prodded by Peter Crosthwaite.
--- hw/block/m25p80.c | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-)
hw/block/m25p80.c +8 -4
@@ -123,10 +123,14 @@ static const FlashPartInfo known_devices[] = { { INFO("mx25l25655e", 0xc22619, 0, 64 << 10, 512, 0) },/* Micron */ - { INFO("n25q032a", 0x20bb16, 0, 64 << 10, 64, ER_4K) }, - { INFO("n25q128a11", 0x20bb18, 0, 64 << 10, 256, 0) }, - { INFO("n25q128a13", 0x20ba18, 0, 64 << 10, 256, 0) }, - { INFO("n25q256a", 0x20ba19, 0, 64 << 10, 512, ER_4K) }, + { INFO("n25q032a11", 0x20bb16, 0, 64 << 10, 64, ER_4K) }, + { INFO("n25q032a13", 0x20ba16, 0, 64 << 10, 64, ER_4K) }, + { INFO("n25q064a11", 0x20bb17, 0, 64 << 10, 128, ER_4K) }, + { INFO("n25q064a13", 0x20ba17, 0, 64 << 10, 128, ER_4K) }, + { INFO("n25q128a11", 0x20bb18, 0, 64 << 10, 256, ER_4K) }, + { INFO("n25q128a13", 0x20ba18, 0, 64 << 10, 256, ER_4K) }, + { INFO("n25q256a11", 0x20bb19, 0, 64 << 10, 512, ER_4K) }, + { INFO("n25q256a13", 0x20ba19, 0, 64 << 10, 512, ER_4K) },/* Spansion -- single (large) sector size only, at least * for the chips listed here (without boot sectors).
Signature · 1 line
1.7.11.5
Hi Ed,
Quoted 23 lines · Ed Maste
- Split 32Mb and 256Mb parts into a11 and a13 variants.
- Add the 4K sector flag to the 128Mb parts. (These entries were taken from the Linux kernel list, which is missing the flag.)
- Fill out the table of sizes with entries for 64Mb parts.Prodded by Peter Crosthwaite.
Signed-off-by Ed Maste <[email protected]>--- hw/block/m25p80.c | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-)hw/block/m25p80.c +0
-3@@ -123,10 +123,14 @@ static const FlashPartInfo known_devices[] = { { INFO("mx25l25655e", 0xc22619, 0, 64 << 10, 512, 0) },/* Micron */ - { INFO("n25q032a", 0x20bb16, 0, 64 << 10, 64, ER_4K) }, - { INFO("n25q128a11", 0x20bb18, 0, 64 << 10, 256, 0) }, - { INFO("n25q128a13", 0x20ba18, 0, 64 << 10, 256, 0) },
hw/block/m25p80.c static const FlashPartInfo known_devices[] = { · line 134
Quoted 10 lines
hw/block/m25p80.c +8
-1- { INFO("n25q256a", 0x20ba19, 0, 64 << 10, 512, ER_4K) }, + { INFO("n25q032a11", 0x20bb16, 0, 64 << 10, 64, ER_4K) }, + { INFO("n25q032a13", 0x20ba16, 0, 64 << 10, 64, ER_4K) }, + { INFO("n25q064a11", 0x20bb17, 0, 64 << 10, 128, ER_4K) }, + { INFO("n25q064a13", 0x20ba17, 0, 64 << 10, 128, ER_4K) }, + { INFO("n25q128a11", 0x20bb18, 0, 64 << 10, 256, ER_4K) }, + { INFO("n25q128a13", 0x20ba18, 0, 64 << 10, 256, ER_4K) }, + { INFO("n25q256a11", 0x20bb19, 0, 64 << 10, 512, ER_4K) }, + { INFO("n25q256a13", 0x20ba19, 0, 64 << 10, 512, ER_4K) },
Thanks for the patch. Ive copied this hunk to LKML to see what they think (I got one reply but off list unfortunately) about synchronising with us.
Id like to give it a few days to see what they say before we merge this. Ideally we have agreement between the two source trees, so we can continue the copy-paste based update strategy.
Regards,
Peter
Quoted 6 lines
hw/block/m25p80.c +0
-1/* Spansion -- single (large) sector size only, at least * for the chips listed here (without boot sectors). -- 1.7.11.5
07.06.2013 07:51, Peter Crosthwaite wrote:
[]
Quoted 3 lines
Id like to give it a few days to see what they say before we merge this. Ideally we have agreement between the two source trees, so we can continue the copy-paste based update strategy.
Do we have any agreement yet? :)
Thanks,
/mjt
Quoted 7 lines · Michael Tokarev
07.06.2013 07:51, Peter Crosthwaite wrote:
[]Quoted 3 lines
Id like to give it a few days to see what they say before we merge this. Ideally we have agreement between the two source trees, so we can continue the copy-paste based update strategy.
Do we have any agreement yet? :)
Ping^2 ?
Should I apply the initial patch?
Thanks,
/mjt
Ping^3 ?
Quoted 17 lines · Michael Tokarev
Quoted 7 lines · Michael Tokarev
07.06.2013 07:51, Peter Crosthwaite wrote:
[]Quoted 3 lines
Id like to give it a few days to see what they say before we merge this. Ideally we have agreement between the two source trees, so we can continue the copy-paste based update strategy.
Do we have any agreement yet? :)
Ping^2 ?
Should I apply the initial patch?
Thanks,
/mjt
Sorry about the delay,
Ack.
We arent getting the long term fix to this soon, so lets apply the patch.
Regards,
Peter
Quoted 22 lines · Michael Tokarev
Ping^3 ?
Quoted 17 lines · Michael Tokarev
Quoted 7 lines · Michael Tokarev
07.06.2013 07:51, Peter Crosthwaite wrote:
[]Quoted 3 lines
Id like to give it a few days to see what they say before we merge this. Ideally we have agreement between the two source trees, so we can continue the copy-paste based update strategy.
Do we have any agreement yet? :)
Ping^2 ?
Should I apply the initial patch?
Thanks,
/mjt