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, 19 Feb 2024 11:32:52 +0000 (11:32 +0000)
commit57c24ab7522f9d6bdc393f336396d56912d36dee
tree2af8674ed33253a344f404dc5e19d0c267c5e24e
parent5a9a2cb26898ae4d7e226c1f1eac9a27e2c90f72
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