summaryrefslogtreecommitdiff
path: root/common/flash.c
diff options
context:
space:
mode:
authorStephen Warren <swarren@wwwdotorg.org>2016-02-06 17:42:43 (GMT)
committerAnatolij Gustschin <agust@denx.de>2016-02-06 18:07:29 (GMT)
commit1382648b6bef3921086abeadadbd9fbc54619ab1 (patch)
treee83dd3e3756aca641e6c591002042f23d65a1f3a /common/flash.c
parent94985cc9d3d7ed991ca8b2627d5894df5ea68f49 (diff)
downloadu-boot-fsl-qoriq-1382648b6bef3921086abeadadbd9fbc54619ab1.tar.xz
video: bcm2835: use bus_to_phys() on FB address
The FB address is generated by the firmware running on the GPU/VideoCore and is a "bus" address. This address is the other side of an IOMMU from the ARM upon which U-Boot is running. Use bus_to_phys() to convert this to an ARM physical address. Without this, U-Boot seems to work just fine, but once the Linux kernel boots on an RPi2, accessing the FB memory often causes a hard system hang. This is related to: 122426d46e31 ARM: bcm2835: use phys_to_bus() for mbox 5c0beb5c58c8 usb: dwc2: use phys_to_bus/bus_to_phys 79340db7f1f6 ARM: bcm2835: implement phys_to_bus/bus_to_phys Signed-off-by: Stephen Warren <swarren@wwwdotorg.org>
Diffstat (limited to 'common/flash.c')
0 files changed, 0 insertions, 0 deletions