dwc-otg: FIQ: Fix "bad mode in data abort handler"
authorPhil Elwell <phil@raspberrypi.org>
Mon, 16 Jul 2018 13:40:13 +0000 (14:40 +0100)
committerDom Cobley <popcornmix@gmail.com>
Mon, 21 Mar 2022 16:03:51 +0000 (16:03 +0000)
commita644ad8d89bfd2429f6fc67365e3c10d5ce150d8
tree0ab3b355475b7d27ca0be06a299984dbeb08d8ae
parent78f1ada8b52aa59595be89021d4c58e6070c49a7
dwc-otg: FIQ: Fix "bad mode in data abort handler"

Create a semi-static mapping for the USB registers early in the boot
process, before additional kernel threads are started, so all threads
will have the mappings from the start. This avoids the need for
data aborts to lazily update them.

See: https://github.com/raspberrypi/linux/issues/2450

Signed-off-by: Floris Bos <bos@je-eigen-domein.nl>
arch/arm/mach-bcm/board_bcm2835.c