Hi Rob, On Thu, 26 Oct 2023 08:53:59 -0500 Rob Herring <robh@xxxxxxxxxx> wrote: > The bus .map() functions vary only by checking the flag cells values > and skipping over any flag cells to read the addresses. Otherwise they > all do the same reading 'ranges' address and size and returning the > address's offset if it is within the 'ranges' entry. > > Refactor all the .map() functions to pass in the flag cell size so that > each bus can check the bus specific flags and then call a common > function to do everything else. > > Signed-off-by: Rob Herring <robh@xxxxxxxxxx> Acked-by: Herve Codina <herve.codina@xxxxxxxxxxx> Best regards, Hervé