ARM: bcm283x: change the virtual address of the XHCI PCI device base 99/259999/1 accepted/tizen/unified/20210621.123021 submit/tizen/20210621.022000
authorMarek Szyprowski <m.szyprowski@samsung.com>
Thu, 17 Jun 2021 08:57:02 +0000 (10:57 +0200)
committerMarek Szyprowski <m.szyprowski@samsung.com>
Thu, 17 Jun 2021 09:04:23 +0000 (11:04 +0200)
commit8ea78d580e326a29a3d9a4625eb7f631fef48bfc
tree1926b1b077ddb153aab1ada6c42b091d529d9cc0
parent680051cc60f34f40c4395b44b288332c9414418d
ARM: bcm283x: change the virtual address of the XHCI PCI device base

Move the XHCI PCI device base up in the virtual address space. This fixes
initialization failure observed on newer Raspberry Pi firmware (later
than 63b1922311 ("firmware: arm_loader: Update armstubs with those from
PR 117). It looks that chosing 0xff800000 as the XHCI PCI device base
conflicts with the updated ARM/VideoCore firmware.

This also requires to reduce the size of the mapped PCI device region
from 8MiB to 4MiB to fit into 32bit address space.

Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Change-Id: Ie4423bf47269492dc5a4198dadf820600980ed8e
arch/arm/mach-bcm283x/init.c