From: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
To: Hubert Feurstein <h.feurstein@gmail.com>
Cc: barebox@lists.infradead.org
Subject: Re: [PATCH] at91sam9m10g45ek: add mci0 support
Date: Fri, 10 Jun 2011 13:29:48 +0200 [thread overview]
Message-ID: <20110610112948.GC3037@game.jcrosoft.org> (raw)
In-Reply-To: <1307695034-11536-1-git-send-email-h.feurstein@gmail.com>
On 10:37 Fri 10 Jun , Hubert Feurstein wrote:
> and enable fat support
>
> Signed-off-by: Hubert Feurstein <h.feurstein@gmail.com>
> Cc: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
> ---
> arch/arm/boards/at91sam9m10g45ek/init.c | 8 ++++++++
> arch/arm/configs/at91sam9m10g45ek_defconfig | 5 +++++
> 2 files changed, 13 insertions(+), 0 deletions(-)
>
> diff --git a/arch/arm/boards/at91sam9m10g45ek/init.c b/arch/arm/boards/at91sam9m10g45ek/init.c
> index 77d51b7..4f79e42 100644
> --- a/arch/arm/boards/at91sam9m10g45ek/init.c
> +++ b/arch/arm/boards/at91sam9m10g45ek/init.c
> @@ -22,6 +22,7 @@
>
> #include <common.h>
> #include <net.h>
> +#include <mci.h>
> #include <init.h>
> #include <environment.h>
> #include <asm/armlinux.h>
> @@ -110,11 +111,18 @@ static struct at91_ether_platform_data macb_pdata = {
> .phy_addr = 0,
> };
>
> +static struct atmel_mci_platform_data mci0_pdata = {
> + .bus_width = 4,
> + .host_caps = MMC_MODE_HS,
> + .detect_pin = AT91_PIN_PD10,
> +};
> +
> static int at91sam9m10g45ek_devices_init(void)
> {
> at91_add_device_sdram(128 * 1024 * 1024);
> ek_add_device_nand();
> at91_add_device_eth(&macb_pdata);
> + at91_add_device_mci(0, &mci0_pdata);
please do the same as I did on 9263ek
only add the device if the driver is enable
Best Regards,
J.
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
next prev parent reply other threads:[~2011-06-11 12:43 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-06-10 8:37 Hubert Feurstein
2011-06-10 11:29 ` Jean-Christophe PLAGNIOL-VILLARD [this message]
2011-06-12 22:12 ` [PATCH v2] " Hubert Feurstein
2011-06-15 0:30 ` Jean-Christophe PLAGNIOL-VILLARD
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=20110610112948.GC3037@game.jcrosoft.org \
--to=plagnioj@jcrosoft.com \
--cc=barebox@lists.infradead.org \
--cc=h.feurstein@gmail.com \
/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