Regarding Compact flash support in MPC8540 ?
Hi Techies..
Is there is any driver code for Compact Flash [True IDE Mode] in MPC8540/60 ?
If anyone has or any details plz provide me..
Thanks and Regards,
Sudhakar V
Quoted 5 lines · Sudhakar
Hi Techies..
Is there is any driver code for Compact Flash [True IDE Mode] in MPC8540/60 ?
If anyone has or any details plz provide me..
Sudhakar:
I'm running a ppc440gx with CF connected directly to the local bus in true IDE mode. I use the standard ide code within u-boot and modeled the linux driver after drivers/ide/ppc/cpci405ide.c
See:
www.toshiba.com/taec/components/ ApplNote/TSB_CF-IBM_PPC405GP_030523.pdf
Perhaps more geared toward your processor:
www.toshiba.com/taec/components/ ApplNote/TSB_CF-Motorola_PPC8260_030325.pdf
Only difference btw the app note and what we use is that we connected PerData[0:7] to CF_DATA[7:0] and PerData[8:15] to CF_DATA[15:8]. Using a stride of 2.
Any other questions, you may want to hit me offlist.
-travis
Quoted 2 lines · In message <[email protected]> you wrote:
Is there is any driver code for Compact Flash [True IDE Mode] in MPC8540/60 ?
There should be no significant difference between 82xx and 85xx in this area. Just copy one of the 82xx based solutions.
Best regards,
Wolfgang Denk
Signature · 3 lines
Software Engineering: Embedded and Realtime Systems, Embedded Linux Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: wd at denx.de Copy from one, it's plagiarism; copy from two, it's research.