Skip to contentSkip to conversation

pci modify [.l .w .b]

U-Boot Steven Seeger 1 participant 1 message Mar 18, 2018

lore
Share & tools
lore
#0 lore raw

Hi list.

If a pci modify command is issued, do_pci() takes the size specifier (.l, .w, .b) and turns it into one of PCI_SIZE_8, PCI_SIZE_16, or PCI_SIZE_32, which correspond to 0, 1, and 2.

Consequently, the address increment moves at 0, 1, or 2 bytes.

This would be a trivial patch for me to make, but before I do that I wanted to make sure that this was not the desired behavior, or that I am not missing something.

Thanks,
Steven