]> git.dujemihanovic.xyz Git - u-boot.git/commit
common: eeprom_layout: Assign default layout methods and parameters before specific...
authorMarek Behún <kabel@kernel.org>
Tue, 21 May 2024 07:13:25 +0000 (09:13 +0200)
committerTom Rini <trini@konsulko.com>
Fri, 7 Jun 2024 16:47:59 +0000 (10:47 -0600)
commita804c8dc5f5e3760948e5ef22f5c605af9cfc695
tree6b1650fd570bc5b8be1f2946687da415f1bb335b
parentd4781422d1268aa6deca3e49d2fb227e79c160b4
common: eeprom_layout: Assign default layout methods and parameters before specific ones

Assign the default eeprom layout parameter .data_size and methods
.print() and .update() before calling eeprom_layout_assign() in
eeprom_layout_setup().

This allows eeprom_layout_assign() to overwrite these if needed.

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