diff options
author | Marek BehĂșn <kabel@kernel.org> | 2024-05-21 09:13:35 +0200 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2024-06-07 10:48:00 -0600 |
commit | 57a9e8d86fde5732f77577adf52dcb62fcdc068a (patch) | |
tree | f5c7ab135b10f094eb41d6d82a9e97673d557cd7 /lib/efi_loader/efi_device_path.c | |
parent | e5dbc80fe0e87d8a6e5226c4b3329d648fd89386 (diff) |
cmd: eeprom: Extend to EEPROMs probed via driver model
Extend the 'eeprom' command to allow accessing EEPROMs probed via
driver model, uclass UCLASS_I2C_EEPROM.
When the CONFIG_I2C_EEPROM config option is enabled (and so the
i2c-eeprom driver is built), the 'eeprom' command now accepts driver
model device name as EEPROM specifier for the 'eeprom' command, in
addition to the legacy [[bus] devaddr] specifier.
Moreover if no device specifier is given, then the first
UCLASS_I2C_EEPROM device is used, if found.
Signed-off-by: Marek BehĂșn <kabel@kernel.org>
Diffstat (limited to 'lib/efi_loader/efi_device_path.c')
0 files changed, 0 insertions, 0 deletions