Skip to contentSkip to conversation

nand: Kconfig: Allow MTD_NAND_GPMI_NAND to be built as module

PATCH In review Fabio Estevam 2 participants 4 messages Jul 28, 2012 – Aug 15, 2012

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 2/2 nand: Kconfig: Allow MTD_NAND_GPMI_NAND to be built as module

From: Fabio Estevam <[email protected]>

Allow MTD_NAND_GPMI_NAND to be built as module.

---
 drivers/mtd/nand/Kconfig |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/mtd/nand/Kconfig +1 -1
index f4e81a7..533eee7 100644
@@ -461,7 +461,7 @@ config MTD_NAND_NANDSIM
 	  MTD nand layer.
 
 config MTD_NAND_GPMI_NAND
-        bool "GPMI NAND Flash Controller driver"
+        tristate "GPMI NAND Flash Controller driver"
         depends on MTD_NAND && (SOC_IMX23 || SOC_IMX28 || SOC_IMX6Q)
         help
 	 Enables NAND Flash support for IMX23 or IMX28.
Signature · 1 line
1.7.1
#1 lore raw

PATCH 1/2 nand: nand_bbt: Export nand_update_bbt

From: Fabio Estevam <[email protected]>

When building MTD_NAND_GPMI_NAND as module, the following error shows up:

ERROR: "nand_update_bbt" [drivers/mtd/nand/gpmi-nand/gpmi_nand.ko] undefined!

Export nand_update_bbt to fix it.

---
 drivers/mtd/nand/nand_bbt.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
drivers/mtd/nand/nand_bbt.c +1 -0
index 2d1d2fa..f4b6417 100644
@@ -1403,3 +1403,4 @@ int nand_isbad_bbt(struct mtd_info *mtd, loff_t offs, int allowbbt)
 
 EXPORT_SYMBOL(nand_scan_bbt);
 EXPORT_SYMBOL(nand_default_bbt);
+EXPORT_SYMBOL(nand_update_bbt);
Signature · 1 line
1.7.1
#2 lore raw

Re: [PATCH 1/2] nand: nand_bbt: Export nand_update_bbt

Artem,

Quoted 9 lines · Fabio Estevam

From: Fabio Estevam <[email protected]>

When building MTD_NAND_GPMI_NAND as module, the following error shows up:

ERROR: "nand_update_bbt" [drivers/mtd/nand/gpmi-nand/gpmi_nand.ko] undefined!

Export nand_update_bbt to fix it.

Any comments on this series, please?

#3 lore raw

Re: [PATCH 1/2] nand: nand_bbt: Export nand_update_bbt

Quoted 7 lines · Fabio Estevam

Artem,

Quoted 4 lines · Fabio Estevam

From: Fabio Estevam <[email protected]>

When building MTD_NAND_GPMI_NAND as module, the following error shows up:

Quoted 7 lines
Quoted 5 lines

ERROR: "nand_update_bbt" [drivers/mtd/nand/gpmi-nand/gpmi_nand.ko] undefined!

Export nand_update_bbt to fix it.

Any comments on this series, please?

If you need something to be merged upstream urgently, please, bug dwmw2 because I do not merge MTD stuff to Linus anyway. You guys can reach him at the #mtd channel in OFTC faster than by e-mail.

Otherwise, I will come to this patch later. I have a lot of not responded e-mails/patches in my mailbox, and I start looking at the oldest first. So at some point I will reach this one as well.

Signature · 2 lines
Best Regards,
Artem Bityutskiy