[U-Boot] [PATCH v2 1/3] board_f: Add mach specific DMA address check function.

Simon Glass sjg at chromium.org
Sat May 18 16:08:58 UTC 2019


Hi Christoph,

On Tue, 7 May 2019 at 09:59, Christoph Muellner
<christoph.muellner at theobroma-systems.com> wrote:
>
> From: Christoph Müllner <christoph.muellner at theobroma-systems.com>
>
> Some machines have limited DMA engines, which cannot deal
> with arbitrary addresses. This patch introduces a function
> to model these restrictions on a machine level.
>
> Signed-off-by: Christoph Müllner <christoph.muellner at theobroma-systems.com>
> Signed-off-by: Christoph Muellner <christoph.muellner at theobroma-systems.com>
> ---
>
> Changes in v2: None
>
>  common/board_f.c | 5 +++++
>  include/init.h   | 2 ++
>  2 files changed, 7 insertions(+)
>

Can we handle this with driver model somehow? How does the kernel
handle it? Is there a device-tree binding for the DMA node that could
provide this information.

Also, where is this function called from?

Regards,
Simon


More information about the U-Boot mailing list