qemu-e2k/hw/nvram
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
..
chrp_nvram.c
ds1225y.c
eeprom93xx.c
eeprom_at24c.c hw/nvram: at24 return 0xff if 1 byte address 2022-03-14 14:48:35 +01:00
fw_cfg-interface.c
fw_cfg.c dma: Let st*_dma() take MemTxAttrs argument 2021-12-31 01:05:27 +01:00
Kconfig hw/nvram: Introduce Xilinx battery-backed ram 2021-09-30 13:42:10 +01:00
mac_nvram.c
meson.build hw/nvram: Restrict fw_cfg QOM interface to sysemu and tools 2022-01-18 10:45:35 +01:00
npcm7xx_otp.c
nrf51_nvm.c
spapr_nvram.c block: rename bdrv_invalidate_cache_all, blk_invalidate_cache and test_sync_op_invalidate_cache 2022-03-04 18:14:40 +01:00
trace-events
trace.h
xlnx-bbram.c hw/nvram: Introduce Xilinx battery-backed ram 2021-09-30 13:42:10 +01:00
xlnx-efuse-crc.c hw/nvram: Introduce Xilinx eFuse QOM 2021-09-30 13:42:09 +01:00
xlnx-efuse.c hw/nvram: Fix Memory Leak in Xilinx eFuse QOM 2021-10-23 18:50:33 +02:00
xlnx-versal-efuse-cache.c hw/nvram: Introduce Xilinx Versal eFuse device 2021-09-30 13:42:10 +01:00
xlnx-versal-efuse-ctrl.c hw/nvram: Fix Memory Leak in Xilinx Versal eFuse device 2021-10-23 18:50:33 +02:00
xlnx-zynqmp-efuse.c hw/nvram: Fix Memory Leak in Xilinx ZynqMP eFuse device 2021-10-23 18:50:33 +02:00