From: Marek Vasut <marek.vasut@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [OT] - Seeking information Re: Memory Mapped CF Card (IDE) and Linux
Date: Sat, 1 May 2010 05:24:40 +0200 [thread overview]
Message-ID: <201005010524.40949.marek.vasut@gmail.com> (raw)
In-Reply-To: <4BDAE529.20903@gmail.com>
Dne P? 30. dubna 2010 16:11:53 Graeme Russ napsal(a):
> Hi All,
>
> 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?
>
> 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?
>
> TIA
Hey, look at pata_platform.c driver. Without any additional setup, your drive
will work. You just specify IRQ line (if any) and CTL and CMD addresses.
Cheers
>
> Graeme
> _______________________________________________
> U-Boot mailing list
> U-Boot at lists.denx.de
> http://lists.denx.de/mailman/listinfo/u-boot
next prev parent reply other threads:[~2010-05-01 3:24 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-04-30 14:11 [U-Boot] [OT] - Seeking information Re: Memory Mapped CF Card (IDE) and Linux Graeme Russ
2010-04-30 19:27 ` Mike Frysinger
2010-05-01 3:24 ` Marek Vasut [this message]
2010-05-01 7:13 ` Using PATA Platform Driver to access Memory Mapped CF Card Graeme Russ
2010-05-01 10:33 ` Alan Cox
2010-05-02 11:57 ` Graeme Russ
2010-05-02 12:29 ` Alan Cox
2010-05-03 1:39 ` Graeme Russ
2010-05-03 10:57 ` Alan Cox
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=201005010524.40949.marek.vasut@gmail.com \
--to=marek.vasut@gmail.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.