Patrick Venture 1cbab82e9d hw/nvram: at24 return 0xff if 1 byte address
The at24 eeproms are 2 byte devices that return 0xff when they are read
from with a partial (1-byte) address written.  This distinction was
found comparing model behavior to real hardware testing.

Tested: `i2ctransfer -f -y 45 w1@85 0 r1` returns 0xff instead of next
byte

Signed-off-by: Patrick Venture <venture@google.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20211220212137.1244511-1-venture@google.com>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
2022-03-14 14:48:35 +01:00
..
2022-03-09 21:16:27 +00:00
2022-03-09 18:06:40 +00:00
2022-03-09 09:13:39 +00:00
2022-03-09 09:28:28 +00:00
2022-03-09 09:13:39 +00:00
2022-03-08 09:18:11 +01:00
2022-03-09 09:13:39 +00:00