From: Lokesh Vutla Date: Mon, 22 Jul 2019 09:47:21 +0530 Subject: [U-Boot] [PATCH] remoteproc: Fix potential build issues with SPL remoteproc In-Reply-To: <20190719152756.1746-1-s-anna@ti.com> References: <20190719152756.1746-1-s-anna@ti.com> Message-ID: <29412ed9-df08-fd02-dc9f-6d6f06ffbb22@ti.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 Reviewed-by: Lokesh Vutla Thanks and regards, Lokesh