[U-Boot] [PATCH v2 1/1] common: Compile error with CONFIG_MULTI_DTB_FIT and not SPL

common/common_fit.c is including <spl.h>, but not actually using it. The inclusion will cuase compile error on platforms using CONFIG_OF_SEPARATE and not SPL.
Signed-off-by: Lars Povlsen lars.povlsen@microsemi.com --- common/common_fit.c | 1 - 1 file changed, 1 deletion(-)
diff --git a/common/common_fit.c b/common/common_fit.c index 577b352..a35c7e9 100644 --- a/common/common_fit.c +++ b/common/common_fit.c @@ -8,7 +8,6 @@ #include <errno.h> #include <image.h> #include <linux/libfdt.h> -#include <spl.h>
ulong fdt_getprop_u32(const void *fdt, int node, const char *prop) {

On 23/10/2018 10:21, Lars Povlsen wrote:
common/common_fit.c is including <spl.h>, but not actually using it. The inclusion will cuase compile error on platforms using CONFIG_OF_SEPARATE and not SPL.
Signed-off-by: Lars Povlsen lars.povlsen@microsemi.com
common/common_fit.c | 1 - 1 file changed, 1 deletion(-)
diff --git a/common/common_fit.c b/common/common_fit.c index 577b352..a35c7e9 100644 --- a/common/common_fit.c +++ b/common/common_fit.c @@ -8,7 +8,6 @@ #include <errno.h> #include <image.h> #include <linux/libfdt.h> -#include <spl.h>
ulong fdt_getprop_u32(const void *fdt, int node, const char *prop) {
Reviewed-by: Jean-Jacques Hiblot jjhiblot@ti.com

On Tue, Oct 23, 2018 at 10:21:25AM +0200, Lars Povlsen wrote:
common/common_fit.c is including <spl.h>, but not actually using it. The inclusion will cuase compile error on platforms using CONFIG_OF_SEPARATE and not SPL.
Signed-off-by: Lars Povlsen lars.povlsen@microsemi.com Reviewed-by: Jean-Jacques Hiblot jjhiblot@ti.com
Applied to u-boot/master, thanks!
participants (3)
-
Jean-Jacques Hiblot
-
Lars Povlsen
-
Tom Rini