[U-Boot] [PATCH] remoteproc: Fix potential build issues with SPL remoteproc

Lokesh Vutla lokeshvutla at ti.com
Mon Jul 22 04:17:21 UTC 2019



On 19/07/19 8:57 PM, Suman Anna wrote:
> The rproc uclass driver can either be built with SPL_REMOTEPROC
> or REMOTEPROC, but the function prototypes in remoteproc.h are
> defined only when CONFIG_REMOTEPROC is defined. This can cause
> build issues in SPL if CONFIG_REMOTEPROC is not selected.
> 
> Fix this by replacing the existing precompiler macro usage with
> CONFIG_IS_ENABLED.
> 
> Fixes: ddf56bc7e3ef ("drivers: Introduce a simplified remoteproc framework")
> Signed-off-by: Suman Anna <s-anna at ti.com>

Reviewed-by: Lokesh Vutla <lokeshvutla at ti.com>

Thanks and regards,
Lokesh


More information about the U-Boot mailing list