arm: bcm2835: DMA can only address 1GB
authorPhil Elwell <phil@raspberrypi.org>
Wed, 29 May 2019 14:47:42 +0000 (15:47 +0100)
committerDom Cobley <popcornmix@gmail.com>
Mon, 21 Mar 2022 16:03:55 +0000 (16:03 +0000)
commit0c98f1c3b081739a014eeff0e424892c9e280efc
tree5a09588291786f51359d7075786c01d4126f401d
parentee087c81f3059571fa23bf2f2f15c9bf04f64cef
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