coreboot/src/device
Patrick Rudolph c242193ca4 device/smbus: Add i2c_eeprom_read
Expose the existing i2c block read functionality usually used in
romstage to the smbus_bus_operations for use in ramstage.

This allows faster reading of I2C EEPROM in ramstage.

TEST=Can read I2C EEPROM on Lenovo X220 using I2C block read.

Change-Id: I1264f17317c3095f9661b0ab6aa3124a00ce86c5
Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/91028
Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Paul Menzel <paulepanter@mailbox.org>
Reviewed-by: Alicja Michalska <ahplka19@gmail.com>
2026-02-03 22:16:02 +00:00
..
dram device/dram/ddr3: Fill in voltage fields for SMBIOS type 17 2025-12-08 02:36:00 +00:00
oprom arch/x86: Unify GDT entries 2025-05-08 12:29:24 +00:00
azalia_device.c device/azalia: Drop spurious read-back of STATESTS 2025-12-17 18:15:10 +00:00
cardbus_device.c device/device.h: Rename busses for clarity 2024-01-31 10:36:39 +00:00
cpu_device.c
device.c device/device.h: Fix spelling mistake 2024-01-31 10:36:49 +00:00
device_const.c arch/x86: Enable support for IOAPIC devices 2024-12-06 20:57:44 +00:00
device_util.c device/device_util: Fix format specifier for DEVICE_PATH_GICC_V3 2025-08-15 19:00:14 +00:00
gpio.c
i2c.c
i2c_bus.c device/device.h: Rename busses for clarity 2024-01-31 10:36:39 +00:00
Kconfig device/Kconfig: Gate early libgfxinit default on ChromeOS 2026-01-01 17:14:14 +00:00
Makefile.mk device, security: Rename Makefiles from .inc to .mk 2024-01-24 10:13:21 +00:00
mdio.c device/device.h: Rename busses for clarity 2024-01-31 10:36:39 +00:00
mmio.c tree: Remove blank lines before '}' and after '{' 2024-04-11 19:19:08 +00:00
pci_class.c
pci_device.c device/pci_device: Fix comment for leftover devices 2026-01-31 22:09:29 +00:00
pci_early.c
pci_ops.c
pci_rom.c device/pci_device: Move PCI Option ROM code into pci_rom.c 2025-03-10 11:35:57 +00:00
pciexp_device.c device/pciexp: Enable ASPM on root ports without endpoints 2026-01-28 13:31:02 +00:00
pcix_device.c device/device.h: Rename busses for clarity 2024-01-31 10:36:39 +00:00
pnp_device.c device/pnp_device: fix log levels for unassigned resource messages 2024-02-29 21:40:49 +00:00
resource_allocator_common.c
resource_allocator_v4.c tree: Remove blank lines before '}' and after '{' 2024-04-11 19:19:08 +00:00
root_device.c device/device.h: Rename busses for clarity 2024-01-31 10:36:39 +00:00
smbus_ops.c device/smbus: Add i2c_eeprom_read 2026-02-03 22:16:02 +00:00
software_i2c.c
xhci.c
xhci_resource.c