From: Stefano Babic <sbabic@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v2 4/4] mx6: Use a common SPL configuration file
Date: Mon, 17 Nov 2014 14:18:55 +0100 [thread overview]
Message-ID: <5469F5BF.2010000@denx.de> (raw)
In-Reply-To: <1415965022-4912-4-git-send-email-festevam@gmail.com>
Hi Fabio,
On 14/11/2014 12:37, Fabio Estevam wrote:
> From: Fabio Estevam <fabio.estevam@freescale.com>
>
> Many boards use a minimal .cfg file in the SPL case.
>
> Introduce spl_sd.cfg so that we can reuse it.
>
> Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
> ---
> Changes since v1:
> - Newly introduced on this series
>
> arch/arm/imx-common/spl_sd.cfg | 8 ++++++++
> board/compulab/cm_fx6/imximage.cfg | 8 --------
> board/freescale/mx6sabresd/mx6sabresd_spl.cfg | 20 --------------------
> board/kosagi/novena/setup.cfg | 16 ----------------
> configs/cm_fx6_defconfig | 2 +-
> configs/mx6sabresd_spl_defconfig | 2 +-
> configs/novena_defconfig | 2 +-
> 7 files changed, 11 insertions(+), 47 deletions(-)
> create mode 100644 arch/arm/imx-common/spl_sd.cfg
> delete mode 100644 board/compulab/cm_fx6/imximage.cfg
> delete mode 100644 board/freescale/mx6sabresd/mx6sabresd_spl.cfg
> delete mode 100644 board/kosagi/novena/setup.cfg
>
> diff --git a/arch/arm/imx-common/spl_sd.cfg b/arch/arm/imx-common/spl_sd.cfg
> new file mode 100644
> index 0000000..5fc3e8a
> --- /dev/null
> +++ b/arch/arm/imx-common/spl_sd.cfg
> @@ -0,0 +1,8 @@
> +/*
> + * Copyright (C) 2014, Compulab Ltd - http://compulab.co.il/
> + *
> + * SPDX-License-Identifier: GPL-2.0+
> + */
> +
> +IMAGE_VERSION 2
> +BOOT_FROM sd
> diff --git a/board/compulab/cm_fx6/imximage.cfg b/board/compulab/cm_fx6/imximage.cfg
> deleted file mode 100644
> index 420947e..0000000
> --- a/board/compulab/cm_fx6/imximage.cfg
> +++ /dev/null
> @@ -1,8 +0,0 @@
> -/*
> - * Copyright (C) 2014, Compulab Ltd - http://compulab.co.il/
> - *
> - * SPDX-License-Identifier: GPL-2.0+
> - */
> -
> -IMAGE_VERSION 2
> -BOOT_FROM sd
> diff --git a/board/freescale/mx6sabresd/mx6sabresd_spl.cfg b/board/freescale/mx6sabresd/mx6sabresd_spl.cfg
> deleted file mode 100644
> index 1d031ba..0000000
> --- a/board/freescale/mx6sabresd/mx6sabresd_spl.cfg
> +++ /dev/null
> @@ -1,20 +0,0 @@
> -/*
> - * Copyright (C) 2011 Freescale Semiconductor, Inc.
> - * Jason Liu <r64343@freescale.com>
> - *
> - * SPDX-License-Identifier: GPL-2.0+
> - *
> - * Refer doc/README.imximage for more details about how-to configure
> - * and create imximage boot image
> - *
> - * The syntax is taken as close as possible with the kwbimage
> - */
> -
> -/* image version */
> -IMAGE_VERSION 2
> -
> -/*
> - * Boot Device : one of
> - * spi, sd (the board has no nand neither onenand)
> - */
> -BOOT_FROM sd
> diff --git a/board/kosagi/novena/setup.cfg b/board/kosagi/novena/setup.cfg
> deleted file mode 100644
> index a79d1f7..0000000
> --- a/board/kosagi/novena/setup.cfg
> +++ /dev/null
> @@ -1,16 +0,0 @@
> -/*
> - * Copyright (C) 2014 Marek Vasut <marex@denx.de>
> - *
> - * SPDX-License-Identifier: GPL-2.0+
> - *
> - * Refer docs/README.imxmage for more details about how-to configure
> - * and create imximage boot image
> - *
> - * The syntax is taken as close as possible with the kwbimage
> - */
> -
> -/* image version */
> -IMAGE_VERSION 2
> -
> -/* Boot Device : sd */
> -BOOT_FROM sd
> diff --git a/configs/cm_fx6_defconfig b/configs/cm_fx6_defconfig
> index 50c06f7..3c0d64f 100644
> --- a/configs/cm_fx6_defconfig
> +++ b/configs/cm_fx6_defconfig
> @@ -1,4 +1,4 @@
> CONFIG_SPL=y
> -CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=board/compulab/cm_fx6/imximage.cfg,MX6QDL,SPL"
> +CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=arch/arm/imx-common/spl_sd.cfg,MX6QDL,SPL"
> +S:CONFIG_ARM=y
> +S:CONFIG_TARGET_CM_FX6=y
> diff --git a/configs/mx6sabresd_spl_defconfig b/configs/mx6sabresd_spl_defconfig
> index b7b26df..12e7844 100644
> --- a/configs/mx6sabresd_spl_defconfig
> +++ b/configs/mx6sabresd_spl_defconfig
> @@ -1,5 +1,5 @@
> CONFIG_SPL=y
> -CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=board/freescale/mx6sabresd/mx6sabresd_spl.cfg,SPL,MX6Q"
> +CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=arch/arm/imx-common/spl_sd.cfg,SPL,MX6Q"
> +S:CONFIG_ARM=y
> +S:CONFIG_TARGET_MX6SABRESD=y
>
> diff --git a/configs/novena_defconfig b/configs/novena_defconfig
> index a560afb..d28dbd7 100644
> --- a/configs/novena_defconfig
> +++ b/configs/novena_defconfig
> @@ -1,4 +1,4 @@
> CONFIG_SPL=y
> -CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=board/kosagi/novena/setup.cfg,MX6Q,SPL"
> +CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=arch/arm/imx-common/spl_sd.cfg,MX6Q,SPL"
> +S:CONFIG_ARM=y
> +S:CONFIG_TARGET_KOSAGI_NOVENA=y
>
Acked-by: Stefano Babic <sbabic@denx.de>
Best regards,
Stefano Babic
--
=====================================================================
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================
next prev parent reply other threads:[~2014-11-17 13:18 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-11-14 11:36 [U-Boot] [PATCH v2 1/4] mx6sabresd: Move the DCD settings to spl code Fabio Estevam
2014-11-14 11:37 ` [U-Boot] [PATCH v2 2/4] gw_ventana: " Fabio Estevam
2014-11-20 9:36 ` Stefano Babic
2014-12-04 11:49 ` Stefan Roese
2014-11-14 11:37 ` [U-Boot] [PATCH v2 3/4] novena: " Fabio Estevam
2014-11-14 20:07 ` Marek Vasut
2014-11-20 9:29 ` Stefano Babic
2014-11-20 9:37 ` Stefano Babic
2014-11-14 11:37 ` [U-Boot] [PATCH v2 4/4] mx6: Use a common SPL configuration file Fabio Estevam
2014-11-17 13:18 ` Stefano Babic [this message]
2014-11-20 9:37 ` Stefano Babic
2014-11-20 9:36 ` [U-Boot] [PATCH v2 1/4] mx6sabresd: Move the DCD settings to spl code Stefano Babic
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5469F5BF.2010000@denx.de \
--to=sbabic@denx.de \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.