[U-Boot] [PATCH 4/4] microblaze: Fix compilation failure because of missing libdts

Marek Vasut marex at denx.de
Fri Oct 5 18:51:37 CEST 2012


Dear Michal Simek,

> Protect dts/libdts.o by CONFIG_OF_EMBED.

Better commit message would really help ... esp. if you could explain the 
problem.

> Signed-off-by: Michal Simek <monstr at monstr.eu>
> ---
>  arch/microblaze/cpu/u-boot.lds |    2 ++
>  1 files changed, 2 insertions(+), 0 deletions(-)
> 
> diff --git a/arch/microblaze/cpu/u-boot.lds
> b/arch/microblaze/cpu/u-boot.lds index d033a28..349d36a 100644
> --- a/arch/microblaze/cpu/u-boot.lds
> +++ b/arch/microblaze/cpu/u-boot.lds
> @@ -45,7 +45,9 @@ SECTIONS
>  	.data ALIGN(0x4):
>  	{
>  		__data_start = .;
> +#ifdef CONFIG_OF_EMBED
>  		dts/libdts.o (.data)
> +#endif
>  		*(.data)
>  		__data_end = .;
>  	}

Best regards,
Marek Vasut


More information about the U-Boot mailing list