
22 Apr
2022
22 Apr
'22
9:38 a.m.
On Fri, Apr 22, 2022 at 12:11 AM Andrew Scull ascull@google.com wrote:
Add mask parameter and reorder length parameter to match the other PCI address conversion functions. Using PCI_REGION_TYPE as the mask gives the old behaviour.
It's converted from a macro to an inline function as the length parameter is now used twice, but should only be calculated once.
Signed-off-by: Andrew Scull ascull@google.com
drivers/bios_emulator/atibios.c | 4 ++-- drivers/pci/pci-uclass.c | 4 ++-- include/pci.h | 16 +++++++++++----- 3 files changed, 15 insertions(+), 9 deletions(-)
Reviewed-by: Bin Meng bmeng.cn@gmail.com