Skip to contentSkip to conversation

mtd for m25p16 on an arm (lpc2468) board

DISCUSSION syed khader 1 participant 1 message Mar 3, 2008 Memory technology devices (MTD)

lore
Share & tools
lore
#0 lore raw

Hi,
Got a
a. lpc2468 arm7 board
b. it has a m25p16 16Mbit serial flash.
I enabled spi, m25p80 driver in the kernel and I
registered with spi using spi_register_board_info.

Reading spi_summary tells me further I need to
provide spi master controller interface as well for this(spi_register_master).
This is where i need some assistance. How should I
write this for my board? What exactly does transfer function does?
Also i dont see m25probe getting called, even after
i registered a dummy spi_register_master)

Thanks
Syed
trumpBox.co.in

      ____________________________________________________________________________________

Never miss a thing. Make Yahoo your home page.
http://www.yahoo.com/r/hs