How to support removable CF card via IDE on MPC52xx

Henk Stegeman henk.stegeman at
Wed Jan 23 22:07:52 EST 2008

I have IDE working on my MPC5200B based system using the driver:


The IDE device is a compact flash card inserted in a compact flash slot on
the CPU board. Two separate pins (reset and card-detect) are provided to the
CPU to force a reset and to detect the presence of the compact-flash card.

Right now I don't use the card detection, the card is always in the slot,
but I want to be able to use the board without the card inserted.

What is the best way to let the kernel only use the compact flash card when
it is inserted?

Can/should I make use of PCMCIA, eventhough the interface is not PCMCIA
compatible? Can PCMCIA then make use of the allready working
drivers/ide/ppc/mpc52xx_ide driver?

Thanks in advance,

Henk Stegeman
-------------- next part --------------
An HTML attachment was scrubbed...

More information about the Linuxppc-embedded mailing list