2008-10-10 10:19:36

by Uros Bizjak

[permalink] [raw]
Subject: [PATCH, arm] CompactFlash card driver for AT91SAM9260

Hello!

Attached patch implements driver for CF card on AT91SAM9260.The patch
supportsMemory & IO mode hardware configuration, as shown in section
20.7.6.1 of AT91SAM9260 hardware manual. CF timings are based on
Common Memory Read/Write Timing Specification of "CF+ and CompactFlash
Specification Revision 2.0", the implementation includes TDF
optimization of SMC.

The patch was tested together witn pata_pcmcia driver, resulting in:

kernel: scsi0 : pata_pcmcia
kernel: ata1: PATA max PIO0 cmd 0xc480c000 ctl 0xc480c00e irq 110
kernel: ata1.00: CFA: TOSHIBA THNCF064MBA, 2.20, max PIO2
kernel: ata1.00: 125184 sectors, multi 1
kernel: ata1.00: configured for PIO0
kernel: ata1.00: configured for PIO0
kernel: ata1: EH complete
kernel: isa bounce pool size: 16 pages
kernel: scsi 0:0:0:0: Direct-Access ATA TOSHIBA THNCF064
2.20PQ: 0 ANSI: 5
...

Signed-off-by: Uros Bizjak <[email protected]>

Uros.


Attachments:
(No filename) (909.00 B)
at91_cf.diff (5.84 kB)
Download all attachments

2008-10-10 11:24:30

by Richard Genoud

[permalink] [raw]
Subject: Re: [PATCH, arm] CompactFlash card driver for AT91SAM9260

2008/10/10 Uros Bizjak <[email protected]>:
> Hello!
>
> Attached patch implements driver for CF card on AT91SAM9260.The patch
> supportsMemory & IO mode hardware configuration, as shown in section
> 20.7.6.1 of AT91SAM9260 hardware manual. CF timings are based on
> Common Memory Read/Write Timing Specification of "CF+ and CompactFlash
> Specification Revision 2.0", the implementation includes TDF
> optimization of SMC.

hi !
I think that you should post your patch to the linux-arm-kernel ML,
and CC Andrew Victor ( [email protected] ).

regards.