[PATCH skeleton] support for W25Q256BV

Daniel Axtens dja at axtens.net
Tue Jan 12 11:04:34 AEDT 2016


OpenBMC Patches <openbmc-patches at stwcx.xyz> writes:

"What's a W25Q256BV?"

(I mean, I can see from the code that it's a flash chip, but would it be
possible to put that in the commit message please?)


> From: Chris Austen <austenc at us.ibm.com>
>
> ---
>  objects/pflash/libflash/libflash.c | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/objects/pflash/libflash/libflash.c b/objects/pflash/libflash/libflash.c
> index 01eee97..762d9e7 100644
> --- a/objects/pflash/libflash/libflash.c
> +++ b/objects/pflash/libflash/libflash.c
> @@ -9,6 +9,7 @@ static const struct flash_info flash_info[] = {
>  	{ 0xc22019, 0x02000000, FL_ERASE_ALL | FL_CAN_4B, "Macronix MXxxL25635F"},
>  	{ 0xc2201a, 0x04000000, FL_ERASE_ALL | FL_CAN_4B, "Macronix MXxxL51235F"},
>  	{ 0xef4018, 0x01000000, FL_ERASE_ALL,             "Winbond W25Q128BV"   },
> +	{ 0xef4019, 0x02000000, FL_ERASE_ALL | FL_CAN_4B | FL_ERASE_64K|FL_ERASE_BULK,    "Winbond W25Q256BV"},
I think this should be wrapped like the Micron below?
        { 0xef4019, 0x02000000, FL_ERASE_ALL | FL_CAN_4B |
                                FL_ERASE_64K | FL_ERASE_BULK,
                                                          "Winbond
                                                          W25Q256BV"},
>  	{ 0x20ba20, 0x04000000, FL_ERASE_4K  | FL_ERASE_64K | FL_CAN_4B |
>                                  FL_ERASE_BULK | FL_MICRON_BUGS,
>                                                            "Micron N25Qx512Ax"   },

Regards,
Daniel

> -- 
> 2.6.4
>
>
> _______________________________________________
> openbmc mailing list
> openbmc at lists.ozlabs.org
> https://lists.ozlabs.org/listinfo/openbmc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 859 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/openbmc/attachments/20160112/959d94f0/attachment.sig>


More information about the openbmc mailing list