[U-Boot] [PATCH] remoteproc: Fix potential build issues with SPL remoteproc
Tom Rini
trini at konsulko.com
Wed Jul 24 20:08:06 UTC 2019
On Fri, Jul 19, 2019 at 10:27:56AM -0500, 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: Nishanth Menon <nm at ti.com>
> Reviewed-by: Lokesh Vutla <lokeshvutla at ti.com>
Applied to u-boot/master, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20190724/88f2daf2/attachment.sig>
More information about the U-Boot
mailing list