arm: bcm2835: Fix FIQ early ioremap
authorPhil Elwell <phil@raspberrypi.org>
Wed, 20 Feb 2019 08:49:39 +0000 (08:49 +0000)
committerpopcornmix <popcornmix@gmail.com>
Thu, 13 Jun 2019 10:45:14 +0000 (11:45 +0100)
commitc528b0bc35cbf689c72bcb1386ab84a853d02957
tree1b035ae5399f45b3edba7659d865bcc7cded2239
parent711cca4250649d13fd805fa9025c3377f957b0bc
arm: bcm2835: Fix FIQ early ioremap

The ioremapping creates mappings within the vmalloc area. The
equivalent early function, create_mapping, now checks that the
requested explicit virtual address is between VMALLOC_START and
VMALLOC_END. As there is no reason to have any correlation between
the physical and virtual addresses, put the required mappings at
VMALLOC_START and above.

Signed-off-by: Phil Elwell <phil@raspberrypi.org>
arch/arm/mach-bcm/board_bcm2835.c