[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] ODP: [PATCH 04/12] Changed variable type to allow serial ee
From: |
Krzeminski, Marcin (Nokia - PL/Wroclaw) |
Subject: |
[Qemu-devel] ODP: [PATCH 04/12] Changed variable type to allow serial eeprom emulation (changing 0->1). |
Date: |
Mon, 21 Dec 2015 13:46:36 +0000 |
W dniu 21.12.2015 o 12:23, Peter Crosthwaite pisze:
> Your commit message subject line should be a little shorter and
> lengthier explanations of the patch content go here as a paragraph.
> You should also have subsystem prefixes to patch subject lines. This
> patch would be something like:
>
> block: m25p80: widen flags variable
>
> Extend the width of the flags variable to support the already existing
> (but unused) WR_1 flag, which is above the range of 8 bits. This is
> turn allows support of EEPROM emulation which requires the WR_1
> feature.
Thanks,
Marcin
>
> On Wed, Dec 16, 2015 at 4:57 AM, <address@hidden> wrote:
>> From: Marcin Krzeminski <address@hidden>
>>
>> Signed-off-by: Marcin Krzeminski <address@hidden>
>
> Otherwise:
>
> Reviewed-by: Peter Crosthwaite <address@hidden>
>
> Regards,
> Peter
>
>> ---
>> hw/block/m25p80.c | 2 +-
>> 1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/hw/block/m25p80.c b/hw/block/m25p80.c
>> index 5e07b57..fbbfd1d 100644
>> --- a/hw/block/m25p80.c
>> +++ b/hw/block/m25p80.c
>> @@ -60,7 +60,7 @@ typedef struct FlashPartInfo {
>> uint32_t sector_size;
>> uint32_t n_sectors;
>> uint32_t page_size;
>> - uint8_t flags;
>> + uint16_t flags;
>> } FlashPartInfo;
>>
>> /* adapted from linux */
>> --
>> 2.5.0
>>
>>
>
>
- [Qemu-devel] [PATCH 00/12] Support for new flash devices/4bytes commands, marcin . krzeminski, 2015/12/16
- [Qemu-devel] [PATCH 03/12] Reset enable and reset memory commands support., marcin . krzeminski, 2015/12/16
- [Qemu-devel] [PATCH 04/12] Changed variable type to allow serial eeprom emulation (changing 0->1)., marcin . krzeminski, 2015/12/16
- [Qemu-devel] [PATCH 07/12] Added support for extend address mode commands., marcin . krzeminski, 2015/12/16
- [Qemu-devel] [PATCH 09/12] Support for 6Bytes jdec., marcin . krzeminski, 2015/12/16
- [Qemu-devel] [PATCH 08/12] Support for N25Q256A/N25Q512A, marcin . krzeminski, 2015/12/16
- [Qemu-devel] [PATCH 02/12] Added reset-pin emulation in model., marcin . krzeminski, 2015/12/16