Introduce layout aware eeprom commands
Get series with b4
b4 am 20160417103336.GA30053@skynetVersions newest first
- v1 Latest0 of 12 patches 0 repliesNew
Patches in v1 No applies recorded yet
None of the 12 patches the cover letter announces are in this archive.
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [U-Boot] [PATCH 00/12] Introduce layout aware eeprom commands
Hi Marek,
Quoted 10 lines · Marek Vasut
Quoted 6 lines · Nikita Kiryanov
This series introduces eeprom layout aware capabilities to the existing eeprom command, and then enables this feature on Compulab boards. It is an import of the Compulab eeprom-utility (https://github.com/compulab/eeprom-util), and it introduces 2 new options to the eeprom command:
eeprom print [-l <
layout_version>]bus_numdevice_addrThe bus number starts to become a problem, esp. when used with DM and where the bus number can change between boots.
Are you referring to the fact that the command allows the user to not specify the bus number (relying on a default value instead)? If so, I agree with you that it is problematic. If I had my way I would've made it a mendatory parameter along with the device address, but that will hurt backwards compatibility. I'll be more than happy to redo the last 3 patches if we agree that we are willing to pay that price.
Quoted 4 lines
Best regards,
Marek Vasut