[PATCH v6] remoteproc: uclass: Add methods to load firmware to rproc and boot rproc

Roger Quadros rogerq at kernel.org
Thu Feb 29 11:13:44 CET 2024



On 28/02/2024 14:06, MD Danish Anwar wrote:
> Add APIs to set a firmware_name to a rproc and boot the rproc with the
> same firmware.
> 
> Clients can call rproc_set_firmware() API to set firmware_name for a rproc
> whereas rproc_boot() will load the firmware set by rproc_set_firmware() to
> a buffer by calling request_firmware_into_buf(). rproc_boot() will then
> load the firmware file to the remote processor and start the remote
> processor.
> 
> Also include "fs-loader.h" and make remoteproc driver select FS_LOADER in
> Kconfig so that we can call request_firmware_into_buf() from remoteproc
> driver.
> 
> Signed-off-by: MD Danish Anwar <danishanwar at ti.com>
> Acked-by: Ravi Gunasekaran <r-gunasekaran at ti.com>

Reviewed-by: Roger Quadros <rogerq at kernel.org>


More information about the U-Boot mailing list