]> git.dujemihanovic.xyz Git - u-boot.git/commit
cmd: eeprom: Don't read/write whole EEPROM if not necessary
authorMarek Behún <kabel@kernel.org>
Tue, 21 May 2024 07:13:34 +0000 (09:13 +0200)
committerTom Rini <trini@konsulko.com>
Fri, 7 Jun 2024 16:48:00 +0000 (10:48 -0600)
commite5dbc80fe0e87d8a6e5226c4b3329d648fd89386
tree4a57ebff9989e913a2dc9b57c5f84ab9a8c26ba2
parente9774afedd20bfe8a18b20a63010c1d18cd16cd7
cmd: eeprom: Don't read/write whole EEPROM if not necessary

Don't read/write whole EEPROM if not necessary when printing / updating
EEPROM layout fields. Only read/write layout.data_size bytes.

Signed-off-by: Marek Behún <kabel@kernel.org>
cmd/eeprom.c