2008-12-26 02:48:54     How to add my SPI Flash support for MTD?

2008-12-26 02:48:54     How to add my SPI Flash support for MTD?

Tony Liu (CHINA)

Message: 67106   

I'm using BF533 & M25P64 SPI Flash. I want to using JFFS2 for M25P64.

In the uclinux dist 2008R1.5-RC3 arch\blackfin\mach-bf533\boards\ezkit.c file:

#if defined(CONFIG_SPI_BFIN) || defined(CONFIG_SPI_BFIN_MODULE)

/* all SPI peripherals info goes here */

#if defined(CONFIG_MTD_M25P80) || defined(CONFIG_MTD_M25P80_MODULE)

& I found Autoconf.h have some defined:

#define CONFIG_MTD_M25P80_MODULE 1

How to add my "CONFIG_MTD_M25P64_MODULE" & using "make menuconfig" I can select from config menu?

Thanks!

QuoteReplyEditDelete

2008-12-26 03:02:04     Re: How to add my SPI Flash support for MTD?

Javier Herrero (SPAIN)

Message: 67107   

You don't need to add a "CONFIG_MTD_M25P64_MODULE". The M25P80 driver supports the M25P64 and a lot more SPI FLASH memories.

Regards,

Javier

QuoteReplyEditDelete

2008-12-26 03:31:39     Re: How to add my SPI Flash support for MTD?

Tony Liu (CHINA)

Message: 67109   

Cheers!

  • Created
Was this helpful?

Before You Switch


Switching languages will make ADI Explorer unavailable. Resume your session by switching back to English and reopening ADI Explorer.