Hi Sylwester, On Tue, 2020-04-21 at 18:50 +0200, Sylwester Nawrocki wrote: > From: Marek Szyprowski <[email protected]> > > Create a non-cacheable mapping for the 0x600000000 physical memory region, > where MMIO registers for the PCIe XHCI controller are instantiated by the > PCIe bridge. > > Signed-off-by: Marek Szyprowski <[email protected]> > --- > arch/arm/mach-bcm283x/init.c | 18 +++++++++++++++--- > 1 file changed, 15 insertions(+), 3 deletions(-) > > diff --git a/arch/arm/mach-bcm283x/init.c b/arch/arm/mach-bcm283x/init.c > index 4295356..6a748da 100644 > --- a/arch/arm/mach-bcm283x/init.c > +++ b/arch/arm/mach-bcm283x/init.c > @@ -11,10 +11,15 @@ > #include <dm/device.h> > #include <fdt_support.h> > > +#define BCM2711_RPI4_PCIE_XHCI_MMIO_PHYS 0x600000000UL > +#define BCM2711_RPI4_PCIE_XHCI_MMIO_SIZE 0x800000UL
Where did you got this size from? I read from the Linux device tree the
following:
pcie0: pcie@7d500000 {
compatible = "brcm,bcm2711-pcie";
[...]
ranges = <0x02000000 0x0 0xf8000000 0x6 0x00000000
0x0 0x04000000>;
[...]
};
Shouldn't the size be 0x4000000 then?
Other than that the patch looks good to me.
Regards,
Nicolas
signature.asc
Description: This is a digitally signed message part

