Hello.
David Brownell wrote:
From: David Brownell <dbrown...@users.sourceforge.net>
This provides basic support for the CF slot on the dm6446 EVM.
Oops, I was going to submit that months ago, and still haven't. :-<
Insert/remove events are not (currently) supported.
IDE now has warm plug support anyway.
On a very small sample of cards, using "hdparm -tT" to measure
(and correct for buffer access), throughput is about 1.5 MB/sec.
That's damn slow...
That's a third what an ATA drive gives on the same system; the
CF cards do not support DMA access modes.
Those CF cards probably don't even support PIO3/4 because using DMA ATA
drive's speed whould've been order of magnitude better than 4.5 MB/sec (which
should correspond to PIO4).
(Unrelated: remove obsolete ref to RTC.)
Why do it in the same patch? :-/
Signed-off-by: David Brownell <dbrown...@users.sourceforge.net>
---
Just a quick hack, to get my brain off some other issues. ;)
arch/arm/mach-davinci/Kconfig | 11 +++++++++
arch/arm/mach-davinci/board-dm644x-evm.c | 33 ++++++++++++++++++-----------
2 files changed, 32 insertions(+), 12 deletions(-)
--- a/arch/arm/mach-davinci/Kconfig
+++ b/arch/arm/mach-davinci/Kconfig
@@ -26,6 +26,17 @@ config MACH_DAVINCI_EVM
Configure this option to specify the whether the board used
for development is a DM644x EVM
+config MACH_DAVINCI_EVM_CF
+ bool "Use CompactFlash, not IDE drive"
+ depends on MACH_DAVINCI_EVM && BLK_DEV_PALMCHIP_BK3710
I was thinking of making this a choice instead. And I don't see why it
should depend on BLK_DEV_PALMCHIP_BK3710.
WBR, Sergei
_______________________________________________
Davinci-linux-open-source mailing list
Davinci-linux-open-source@linux.davincidsp.com
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source