* [RFC] mtd: gpmc: add BCH support for plain AM335x
@ 2013-11-20 17:39 Wolfram Sang
2013-11-20 17:57 ` Ezequiel Garcia
0 siblings, 1 reply; 3+ messages in thread
From: Wolfram Sang @ 2013-11-20 17:39 UTC (permalink / raw)
To: linux-arm-kernel
When building a kernel without OMAP3 support but only AM335x, we can't
activate the needed MTD_NAND_OMAP_BCH symbol.
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
---
Actually, I wonder if this is fix will scale. Maybe someone with more insight
about TI SoCs could find a better expression of supported SoCs. This is the
only one I could test .
drivers/mtd/nand/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/mtd/nand/Kconfig b/drivers/mtd/nand/Kconfig
index 93ae6a6..f9455e4 100644
--- a/drivers/mtd/nand/Kconfig
+++ b/drivers/mtd/nand/Kconfig
@@ -95,7 +95,7 @@ config MTD_NAND_OMAP2
platforms.
config MTD_NAND_OMAP_BCH
- depends on MTD_NAND && MTD_NAND_OMAP2 && ARCH_OMAP3
+ depends on MTD_NAND && MTD_NAND_OMAP2 && (ARCH_OMAP3 || SOC_AM33XX)
tristate "Support hardware based BCH error correction"
default n
select BCH
--
1.8.4.2
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [RFC] mtd: gpmc: add BCH support for plain AM335x
2013-11-20 17:39 [RFC] mtd: gpmc: add BCH support for plain AM335x Wolfram Sang
@ 2013-11-20 17:57 ` Ezequiel Garcia
2013-11-20 18:27 ` Wolfram Sang
0 siblings, 1 reply; 3+ messages in thread
From: Ezequiel Garcia @ 2013-11-20 17:57 UTC (permalink / raw)
To: linux-arm-kernel
Hey Wolfram:
On Wed, Nov 20, 2013 at 06:39:12PM +0100, Wolfram Sang wrote:
> When building a kernel without OMAP3 support but only AM335x, we can't
> activate the needed MTD_NAND_OMAP_BCH symbol.
>
> Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
> ---
>
> Actually, I wonder if this is fix will scale. Maybe someone with more insight
> about TI SoCs could find a better expression of supported SoCs. This is the
> only one I could test .
>
> drivers/mtd/nand/Kconfig | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/mtd/nand/Kconfig b/drivers/mtd/nand/Kconfig
> index 93ae6a6..f9455e4 100644
> --- a/drivers/mtd/nand/Kconfig
> +++ b/drivers/mtd/nand/Kconfig
> @@ -95,7 +95,7 @@ config MTD_NAND_OMAP2
> platforms.
>
> config MTD_NAND_OMAP_BCH
> - depends on MTD_NAND && MTD_NAND_OMAP2 && ARCH_OMAP3
> + depends on MTD_NAND && MTD_NAND_OMAP2 && (ARCH_OMAP3 || SOC_AM33XX)
> tristate "Support hardware based BCH error correction"
> default n
> select BCH
> --
> 1.8.4.2
>
A similar patch has been already merged and you can pick it from l2-mtd
next branch:
http://git.infradead.org/l2-mtd.git/commitdiff/1900cdf03057030497e967614c4b19296b6ac460
Thanks!
--
Ezequiel Garc?a, Free Electrons
Embedded Linux, Kernel and Android Engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 3+ messages in thread
* [RFC] mtd: gpmc: add BCH support for plain AM335x
2013-11-20 17:57 ` Ezequiel Garcia
@ 2013-11-20 18:27 ` Wolfram Sang
0 siblings, 0 replies; 3+ messages in thread
From: Wolfram Sang @ 2013-11-20 18:27 UTC (permalink / raw)
To: linux-arm-kernel
> A similar patch has been already merged and you can pick it from l2-mtd
> next branch:
>
> http://git.infradead.org/l2-mtd.git/commitdiff/1900cdf03057030497e967614c4b19296b6ac460
Great, thanks!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20131120/a9197068/attachment.sig>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2013-11-20 18:27 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-20 17:39 [RFC] mtd: gpmc: add BCH support for plain AM335x Wolfram Sang
2013-11-20 17:57 ` Ezequiel Garcia
2013-11-20 18:27 ` Wolfram Sang
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).