[U-Boot] [PATCH v9 2/4] mtd: nand: omap: enable BCH ECC scheme using ELM for generic platform
Scott Wood
scottwood at freescale.com
Fri Nov 15 21:51:21 CET 2013
On Fri, 2013-11-15 at 15:38 +0530, Pekon Gupta wrote:
> diff --git a/drivers/mtd/nand/omap_gpmc.c b/drivers/mtd/nand/omap_gpmc.c
> index c828859..532fbed 100644
> --- a/drivers/mtd/nand/omap_gpmc.c
> +++ b/drivers/mtd/nand/omap_gpmc.c
> @@ -15,15 +15,15 @@
> #include <linux/bch.h>
> #include <linux/compiler.h>
> #include <nand.h>
> -#ifdef CONFIG_AM33XX
> +#ifdef CONFIG_NAND_OMAP_ELM
> #include <asm/omap_elm.h>
> #endif
Substitutions like this should probably have been part of patch 1/4.
Why do you need to ifdef the include at all?
-Scott
More information about the U-Boot
mailing list