Re: [PATCH v2 2/3] nvram: at24c: use a sane default for "rom-size"

2018-03-19 Thread Philippe Mathieu-Daudé
On 03/19/2018 10:31 PM, Wolfram Sang wrote: > 0 as "rom-size" will lead to an error message. Let's use the size of a > small 24c01 which has 128 byte. > > Signed-off-by: Wolfram Sang Reviewed-by: Philippe Mathieu-Daudé > --- >

[PATCH v2 2/3] nvram: at24c: use a sane default for "rom-size"

2018-03-19 Thread Wolfram Sang
0 as "rom-size" will lead to an error message. Let's use the size of a small 24c01 which has 128 byte. Signed-off-by: Wolfram Sang --- hw/nvram/eeprom_at24c.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/hw/nvram/eeprom_at24c.c