arm: bcm2835: DMA can only address 1GB
authorPhil Elwell <phil@raspberrypi.org>
Wed, 29 May 2019 14:47:42 +0000 (15:47 +0100)
committerpopcornmix <popcornmix@gmail.com>
Thu, 13 Jun 2019 10:45:14 +0000 (11:45 +0100)
commit278f37a1cbb70636a6eb000c1c9fd56bf7097f6c
tree6cef29bb54be86cc48f27addce9ece32b89e2bc9
parent394bee8a25be0a7da404839decdd0865b6873ea3
arm: bcm2835: DMA can only address 1GB

The legacy peripherals can only address the first gigabyte of RAM, so
ensure that DMA allocations are restricted to that region.

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