[U-Boot] [PATCH v3 04/10] sf: Use sf_params in sandbox

Simon Glass sjg at chromium.org
Mon Jan 11 17:59:14 CET 2016


Hi Jagan,

On 31 December 2015 at 02:21, Jagan Teki <jteki at openedev.com> wrote:
> sandbox.c is using sf_params, so move sf_params.o
> to sandbox build.
>
> Cc: Simon Glass <sjg at chromium.org>
> Cc: Bin Meng <bmeng.cn at gmail.com>
> Tested-by: Mugunthan V N <mugunthanvnm at ti.com>
> Tested-by: Jagan Teki <jteki at openedev.com>
> Signed-off-by: Jagan Teki <jteki at openedev.com>
> ---
>  drivers/mtd/spi/Makefile | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/mtd/spi/Makefile b/drivers/mtd/spi/Makefile
> index c665836..20d32c1 100644
> --- a/drivers/mtd/spi/Makefile
> +++ b/drivers/mtd/spi/Makefile
> @@ -12,7 +12,7 @@ obj-$(CONFIG_SPL_SPI_LOAD)    += spi_spl_load.o
>  obj-$(CONFIG_SPL_SPI_BOOT)     += fsl_espi_spl.o
>  endif
>
> -obj-$(CONFIG_SPI_FLASH) += sf_probe.o spi_flash.o sf_params.o sf.o
> +obj-$(CONFIG_SPI_FLASH) += sf_probe.o spi_flash.o sf.o
>  obj-$(CONFIG_SPI_FLASH_DATAFLASH) += sf_dataflash.o
>  obj-$(CONFIG_SPI_FLASH_MTD) += sf_mtd.o
> -obj-$(CONFIG_SPI_FLASH_SANDBOX) += sandbox.o
> +obj-$(CONFIG_SPI_FLASH_SANDBOX) += sandbox.o sf_params.o
> --
> 1.9.1
>

It would be a shame to have two lots of table with essentially the
same information. As you mentioned on the other thread, perhaps they
can be combined?

Regards.
Simon


More information about the U-Boot mailing list