From: Mike Frysinger Date: Fri, 30 Apr 2010 15:27:01 -0400 Subject: [U-Boot] [OT] - Seeking information Re: Memory Mapped CF Card (IDE) and Linux In-Reply-To: <4BDAE529.20903@gmail.com> References: <4BDAE529.20903@gmail.com> Message-ID: <201004301527.02424.vapier@gentoo.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Friday 30 April 2010 10:11:53 Graeme Russ wrote: > I'm looking for information on how to access a Compact Flash card which is > memory-mapped (from 0x20001000) > > From what I have read, there a 3 address lines (8 addresses) which access > IDE registers within the CF chip > > My question is, how do I access such a custom address range within Linux? wouldnt this be a better question posted to lkml and/or the linux-ide lists ? > I'm looking at the 'OF-platform PATA driver' which appears to be what I > want (a very basic IDE driver) but I am a bit lost on how to set up a > specific base address. > > Where should I look for examples of CF cards mapped to specific address > spaces? we do it on the Blackfin quite a bit using the pata platform driver: http://docs.blackfin.uclinux.org/doku.php?id=hw:cards:cf-ide-nand -mike -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: This is a digitally signed message part. Url : http://lists.denx.de/pipermail/u-boot/attachments/20100430/31886563/attachment.pgp