* [PATCH] [TRIVIAL] ARM: imx: Fix typo 'MACH_MX31_3DS_MXC_NAND_USE_BBT'
@ 2011-10-12 12:04 Paul Bolle
2011-10-31 10:12 ` Jiri Kosina
0 siblings, 1 reply; 5+ messages in thread
From: Paul Bolle @ 2011-10-12 12:04 UTC (permalink / raw)
To: linux-arm-kernel
Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
---
This is trivial because this is what apparently was intended. On the
other hand this should open code paths that were hidden until now. So
perhaps this needs the maintainer's approval. (I cannot meaningfully
test this.)
arch/arm/mach-imx/mach-mx31_3ds.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/arch/arm/mach-imx/mach-mx31_3ds.c b/arch/arm/mach-imx/mach-mx31_3ds.c
index c20be75..5750ca5 100644
--- a/arch/arm/mach-imx/mach-mx31_3ds.c
+++ b/arch/arm/mach-imx/mach-mx31_3ds.c
@@ -542,7 +542,7 @@ static const struct mxc_nand_platform_data
mx31_3ds_nand_board_info __initconst = {
.width = 1,
.hw_ecc = 1,
-#ifdef MACH_MX31_3DS_MXC_NAND_USE_BBT
+#ifdef CONFIG_MACH_MX31_3DS_MXC_NAND_USE_BBT
.flash_bbt = 1,
#endif
};
--
1.7.4.4
^ permalink raw reply related [flat|nested] 5+ messages in thread* [PATCH] [TRIVIAL] ARM: imx: Fix typo 'MACH_MX31_3DS_MXC_NAND_USE_BBT'
2011-10-12 12:04 [PATCH] [TRIVIAL] ARM: imx: Fix typo 'MACH_MX31_3DS_MXC_NAND_USE_BBT' Paul Bolle
@ 2011-10-31 10:12 ` Jiri Kosina
2011-11-01 18:19 ` Fabio Estevam
0 siblings, 1 reply; 5+ messages in thread
From: Jiri Kosina @ 2011-10-31 10:12 UTC (permalink / raw)
To: linux-arm-kernel
On Wed, 12 Oct 2011, Paul Bolle wrote:
> Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
> ---
> This is trivial because this is what apparently was intended. On the
> other hand this should open code paths that were hidden until now. So
> perhaps this needs the maintainer's approval. (I cannot meaningfully
> test this.)
I'd like to have this tested by some relevant people before taking it
myself (added some CCs).
>
> arch/arm/mach-imx/mach-mx31_3ds.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/arch/arm/mach-imx/mach-mx31_3ds.c b/arch/arm/mach-imx/mach-mx31_3ds.c
> index c20be75..5750ca5 100644
> --- a/arch/arm/mach-imx/mach-mx31_3ds.c
> +++ b/arch/arm/mach-imx/mach-mx31_3ds.c
> @@ -542,7 +542,7 @@ static const struct mxc_nand_platform_data
> mx31_3ds_nand_board_info __initconst = {
> .width = 1,
> .hw_ecc = 1,
> -#ifdef MACH_MX31_3DS_MXC_NAND_USE_BBT
> +#ifdef CONFIG_MACH_MX31_3DS_MXC_NAND_USE_BBT
> .flash_bbt = 1,
> #endif
> };
> --
> 1.7.4.4
>
>
>
--
Jiri Kosina
SUSE Labs
^ permalink raw reply [flat|nested] 5+ messages in thread* [PATCH] [TRIVIAL] ARM: imx: Fix typo 'MACH_MX31_3DS_MXC_NAND_USE_BBT'
2011-10-31 10:12 ` Jiri Kosina
@ 2011-11-01 18:19 ` Fabio Estevam
2011-11-02 13:34 ` Jiri Kosina
0 siblings, 1 reply; 5+ messages in thread
From: Fabio Estevam @ 2011-11-01 18:19 UTC (permalink / raw)
To: linux-arm-kernel
On Mon, Oct 31, 2011 at 8:12 AM, Jiri Kosina <jkosina@suse.cz> wrote:
> On Wed, 12 Oct 2011, Paul Bolle wrote:
>
>> Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
>> ---
>> This is trivial because this is what apparently was intended. On the
>> other hand this should open code paths that were hidden until now. So
>> perhaps this needs the maintainer's approval. (I cannot meaningfully
>> test this.)
>
> I'd like to have this tested by some relevant people before taking it
> myself (added some CCs).
On a mx31pdk board I get the following with this patch applied and
CONFIG_MACH_MX31_3DS_MXC_NAND_USE_BBT selected:
NAND device: Manufacturer ID: 0xec, Chip ID: 0xaa (Samsung NAND 256MiB
1,8V 8-bit)
Bad block table not found for chip 0
Bad block table not found for chip 0
Scanning device for bad blocks
Registering mxc_nand as whole device
Tested-by: Fabio Estevam <fabio.estevam@freescale.com>
^ permalink raw reply [flat|nested] 5+ messages in thread
* [PATCH] [TRIVIAL] ARM: imx: Fix typo 'MACH_MX31_3DS_MXC_NAND_USE_BBT'
2011-11-01 18:19 ` Fabio Estevam
@ 2011-11-02 13:34 ` Jiri Kosina
2011-11-02 13:43 ` Paul Bolle
0 siblings, 1 reply; 5+ messages in thread
From: Jiri Kosina @ 2011-11-02 13:34 UTC (permalink / raw)
To: linux-arm-kernel
On Tue, 1 Nov 2011, Fabio Estevam wrote:
> >> Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
> >> ---
> >> This is trivial because this is what apparently was intended. On the
> >> other hand this should open code paths that were hidden until now. So
> >> perhaps this needs the maintainer's approval. (I cannot meaningfully
> >> test this.)
> >
> > I'd like to have this tested by some relevant people before taking it
> > myself (added some CCs).
>
> On a mx31pdk board I get the following with this patch applied and
> CONFIG_MACH_MX31_3DS_MXC_NAND_USE_BBT selected:
>
> NAND device: Manufacturer ID: 0xec, Chip ID: 0xaa (Samsung NAND 256MiB
> 1,8V 8-bit)
> Bad block table not found for chip 0
> Bad block table not found for chip 0
> Scanning device for bad blocks
> Registering mxc_nand as whole device
>
> Tested-by: Fabio Estevam <fabio.estevam@freescale.com>
Thank you, I will be appplying it.
--
Jiri Kosina
SUSE Labs
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2011-11-02 13:43 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-10-12 12:04 [PATCH] [TRIVIAL] ARM: imx: Fix typo 'MACH_MX31_3DS_MXC_NAND_USE_BBT' Paul Bolle
2011-10-31 10:12 ` Jiri Kosina
2011-11-01 18:19 ` Fabio Estevam
2011-11-02 13:34 ` Jiri Kosina
2011-11-02 13:43 ` Paul Bolle
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox