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

Jean-Jacques Hiblot jjhiblot at ti.com
Wed Oct 24 08:26:12 UTC 2018


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 at 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 at ti.com>



More information about the U-Boot mailing list