[U-Boot] [PATCH v3 5/5] common: Enable fdt_support in SPL build

Marek Vasut marex at denx.de
Thu Sep 10 13:49:53 CEST 2015


On Thursday, September 10, 2015 at 07:02:16 AM, Chin Liang See wrote:
> Enable more device tree function support such as
> fdt_getprop_u32_default_node in SPL.
> 
> Signed-off-by: Chin Liang See <clsee at altera.com>
> Cc: Dinh Nguyen <dinguyen at opensource.altera.com>
> Cc: Dinh Nguyen <dinh.linux at gmail.com>
> Cc: Marek Vasut <marex at denx.de>
> Cc: Stefan Roese <sr at denx.de>
> Cc: Vikas Manocha <vikas.manocha at st.com>
> Cc: Jagannadh Teki <jteki at openedev.com>
> Cc: Pavel Machek <pavel at denx.de>

+CC Simon, I'm worried this might blow the size of all SPLs , which is not
the thing we'd like to see.

> ---
>  common/Makefile |    4 ++--
>  1 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/common/Makefile b/common/Makefile
> index 556fb07..9e059fe 100644
> --- a/common/Makefile
> +++ b/common/Makefile
> @@ -97,7 +97,7 @@ obj-$(CONFIG_CMD_EXT4) += cmd_ext4.o
>  obj-$(CONFIG_CMD_EXT2) += cmd_ext2.o
>  obj-$(CONFIG_CMD_FAT) += cmd_fat.o
>  obj-$(CONFIG_CMD_FDC) += cmd_fdc.o
> -obj-$(CONFIG_OF_LIBFDT) += cmd_fdt.o fdt_support.o
> +obj-$(CONFIG_OF_LIBFDT) += cmd_fdt.o
>  obj-$(CONFIG_CMD_FITUPD) += cmd_fitupd.o
>  obj-$(CONFIG_CMD_FLASH) += cmd_flash.o
>  ifdef CONFIG_FPGA
> @@ -265,7 +265,7 @@ obj-y += malloc_simple.o
>  endif
>  obj-y += image.o
>  obj-$(CONFIG_ANDROID_BOOT_IMAGE) += image-android.o
> -obj-$(CONFIG_OF_LIBFDT) += image-fdt.o
> +obj-$(CONFIG_OF_LIBFDT) += image-fdt.o  fdt_support.o
>  obj-$(CONFIG_FIT) += image-fit.o
>  obj-$(CONFIG_FIT_SIGNATURE) += image-sig.o
>  obj-$(CONFIG_IO_TRACE) += iotrace.o
> --
> 1.7.7.4

Best regards,
Marek Vasut


More information about the U-Boot mailing list