From: Sebastian Heutling <heutling@who-ing.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] AT91 working SD with u-boot
Date: Thu, 1 Oct 2009 10:25:42 +0200 [thread overview]
Message-ID: <4AC46786.2050609@who-ing.de> (raw)
In-Reply-To: <F32E8C2599F37641BB4E3F3AC4A3C412016D265C5015@ws>
Hi Konrad,
are you using the AT91SAM9G20-EK?
In that case the difference between us is that I'm working on a
different board which is using the slotb MCI while the AT91SAM9G20-EK
uses slota.
In case of slota it just worked because MCI_SDCR is 0 on reset but for
slotb the SDCSEL field must be set to 1.
Regards
Sebastian Heutling
On 10/01/2009 09:59 AM, Konrad Mattheis wrote:
> Hi,
>
> for me this is working:
>
> Downloaded u-boot 2009.08
>
> file cpu/arm926ejs/at91/at91sam9260_devices.c
>>
>> changed:
>>> #if defined(CONFIG_HAS_DATAFLASH)
>> to:
>>> #if defined(CONFIG_HAS_DATAFLASH) || defined(CONFIG_ATMEL_SPI)
>
> patches:
>
> SOC headers:
> http://lists.denx.de/pipermail/u-boot/2009-September/060053.html
>
> SD Patch V3
> http://lists.denx.de/pipermail/u-boot/2009-September/060243.html
>
> MCI support
> http://lists.denx.de/pipermail/u-boot/2009-August/059595.html
>
> add to board init code:
>
> at91_mciX_hw_init (X for mci unit 0 / 1) for parameters have a look at cpu/arm926ejs/at91/at91sam9260_devices.c
>
> bye
> Konrad Mattheis
>
>
>
next prev parent reply other threads:[~2009-10-01 8:25 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-10-01 7:22 [U-Boot] [PATCH v3] AT91: Add SD/MMC controller support Sebastian Heutling
2009-10-01 7:59 ` [U-Boot] AT91 working SD with u-boot Konrad Mattheis
2009-10-01 8:25 ` Sebastian Heutling [this message]
2009-10-01 8:33 ` Konrad Mattheis
2009-10-01 9:28 ` Sebastian Heutling
2009-10-04 12:54 ` Albin Tonnerre
2010-05-26 19:03 ` Kalyan
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=4AC46786.2050609@who-ing.de \
--to=heutling@who-ing.de \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox