remoteproc: uclass: Add remoteproc resource handling helpers
authorKeerthy <j-keerthy@ti.com>
Thu, 27 Jan 2022 12:16:55 +0000 (13:16 +0100)
committerTom Rini <trini@konsulko.com>
Tue, 8 Feb 2022 16:00:03 +0000 (11:00 -0500)
commita03df8984439b54b663739b8335c977c3c88db00
treeeee41e12898b41cab7c45ecfbe77e88f7ba41d0c
parent8a92603a3489f789f8e3a36a1e073bc1c237d73e
remoteproc: uclass: Add remoteproc resource handling helpers

Add remoteproc resource handling helpers. These functions
are primarily to parse the resource table and to handle
different types of resources. Carveout, devmem, trace &
vring resources are handled.

Signed-off-by: Keerthy <j-keerthy@ti.com>
[Amjad: fix redefinition of "struct resource_table" and compile warnings ]
Signed-off-by: Amjad Ouled-Ameur <aouledameur@baylibre.com>
drivers/remoteproc/rproc-uclass.c
include/remoteproc.h