u-boot.lists.denx.de archive mirror
 help / color / mirror / Atom feed
From: Lokesh Vutla <lokeshvutla@ti.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [RFC][PATCH 3/7] TI: armv7: Move ELM support to SoC configuration file.
Date: Mon, 23 Dec 2013 17:11:26 +0530	[thread overview]
Message-ID: <52B82166.7080506@ti.com> (raw)
In-Reply-To: <1386361824-21900-4-git-send-email-eballetbo@gmail.com>

On Saturday 07 December 2013 02:00 AM, Enric Balletbo i Serra wrote:
> The ELM hardware engine wihich is used for ECC error detections is not present
> on OMAP3 SoC, so move the CONFIG_SPL_NAND_AM33XX_BCH from ti_armv7_common.h to
> SoC configuration file.
Reviewed-by:  Lokesh Vutla <lokeshvutla@ti.com>

Thanks and regards,
Lokesh
> 
> Signed-off-by: Enric Balletbo i Serra <eballetbo@gmail.com>
> ---
>  include/configs/ti_am335x_common.h | 4 ++++
>  include/configs/ti_armv7_common.h  | 1 -
>  include/configs/ti_omap4_common.h  | 4 ++++
>  include/configs/ti_omap5_common.h  | 4 ++++
>  4 files changed, 12 insertions(+), 1 deletion(-)
> 
> diff --git a/include/configs/ti_am335x_common.h b/include/configs/ti_am335x_common.h
> index 10fe47f..cddddb0 100644
> --- a/include/configs/ti_am335x_common.h
> +++ b/include/configs/ti_am335x_common.h
> @@ -72,6 +72,10 @@
>  #define CONFIG_SKIP_LOWLEVEL_INIT
>  #endif
>  
> +#ifdef CONFIG_NAND
> +#define CONFIG_SPL_NAND_AM33XX_BCH	/* ELM support */
> +#endif
> +
>  /* Now bring in the rest of the common code. */
>  #include <configs/ti_armv7_common.h>
>  
> diff --git a/include/configs/ti_armv7_common.h b/include/configs/ti_armv7_common.h
> index 99b60fc..f4e42ef 100644
> --- a/include/configs/ti_armv7_common.h
> +++ b/include/configs/ti_armv7_common.h
> @@ -237,7 +237,6 @@
>  #define CONFIG_SPL_BOARD_INIT
>  
>  #ifdef CONFIG_NAND
> -#define CONFIG_SPL_NAND_AM33XX_BCH	/* OMAP4 and later ELM support */
>  #define CONFIG_SPL_NAND_SUPPORT
>  #define CONFIG_SPL_NAND_BASE
>  #define CONFIG_SPL_NAND_DRIVERS
> diff --git a/include/configs/ti_omap4_common.h b/include/configs/ti_omap4_common.h
> index bce32d6..815aaf5 100644
> --- a/include/configs/ti_omap4_common.h
> +++ b/include/configs/ti_omap4_common.h
> @@ -154,4 +154,8 @@
>  #define CONFIG_SPL_DISPLAY_PRINT
>  #define CONFIG_SPL_LDSCRIPT "$(CPUDIR)/omap-common/u-boot-spl.lds"
>  
> +#ifdef CONFIG_NAND
> +#define CONFIG_SPL_NAND_AM33XX_BCH	/* ELM support */
> +#endif
> +
>  #endif /* __CONFIG_TI_OMAP4_COMMON_H */
> diff --git a/include/configs/ti_omap5_common.h b/include/configs/ti_omap5_common.h
> index 4f34dcf..7b10fbd 100644
> --- a/include/configs/ti_omap5_common.h
> +++ b/include/configs/ti_omap5_common.h
> @@ -146,4 +146,8 @@
>  #define CONFIG_SPL_DISPLAY_PRINT
>  #define CONFIG_SPL_LDSCRIPT "$(CPUDIR)/omap-common/u-boot-spl.lds"
>  
> +#ifdef CONFIG_NAND
> +#define CONFIG_SPL_NAND_AM33XX_BCH	/* ELM support */
> +#endif
> +
>  #endif /* __CONFIG_TI_OMAP5_COMMON_H */
> 

  reply	other threads:[~2013-12-23 11:41 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-12-06 20:30 [U-Boot] [RFC][PATCH 0/7] TI: OMAP3: Use common config file Enric Balletbo i Serra
2013-12-06 20:30 ` [U-Boot] [RFC][PATCH 1/7] ARM: OMAP4: Rename to ti_omap4_common.h Enric Balletbo i Serra
2013-12-23 11:34   ` Lokesh Vutla
2013-12-06 20:30 ` [U-Boot] [RFC][PATCH 2/7] ARM: OMAP5: Rename to ti_omap5_common.h Enric Balletbo i Serra
2013-12-23 11:38   ` Lokesh Vutla
2013-12-06 20:30 ` [U-Boot] [RFC][PATCH 3/7] TI: armv7: Move ELM support to SoC configuration file Enric Balletbo i Serra
2013-12-23 11:41   ` Lokesh Vutla [this message]
2013-12-06 20:30 ` [U-Boot] [RFC][PATCH 4/7] TI: armv7: Do not define the number DRAM banks if is already defined Enric Balletbo i Serra
2013-12-06 20:30 ` [U-Boot] [RFC][PATCH 5/7] ARM: OMAP3: Rename OMAP3_PUBLIC_SRAM_* to NON_SECURE_SRAM_* Enric Balletbo i Serra
2013-12-06 20:30 ` [U-Boot] [RFC][PATCH 6/7] TI: OMAP3: Create common config files for TI OMAP3 platforms Enric Balletbo i Serra
2013-12-06 20:30 ` [U-Boot] [RFC][PATCH 7/7] OMAP3: igep00x0: Convert to ti_omap3_common.h Enric Balletbo i Serra
2013-12-23 11:11 ` [U-Boot] [RFC][PATCH 0/7] TI: OMAP3: Use common config file Enric Balletbo Serra
2014-01-06 17:36   ` Tom Rini
2014-01-24  8:45     ` Enric Balletbo Serra
2014-01-24 13:37       ` Tom Rini
2014-01-24 14:13         ` Enric Balletbo Serra

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=52B82166.7080506@ti.com \
    --to=lokeshvutla@ti.com \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).