From: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] [PATCH u-boot-at91] Add support for AT91SAM9263EK
Date: Tue, 22 Apr 2008 08:32:29 +0200 [thread overview]
Message-ID: <20080422063229.GC22850@game.jcrosoft.org> (raw)
In-Reply-To: <480D6840.4090704@genesysdesign.com.au>
On 14:23 Tue 22 Apr , Jared Holzman wrote:
> This patch adds support for the AT91SAM9263EK board. It builds on top of
> the support added for the AT91SAM9260EK by Stelian Pop. It was created
> against the u-boot-at91 custodian tree, so I hope this is correct place to
> submit it.
> ---
Patch line wrapped please resend it, use git tools as example
and coding style issue (use tab for indentation)
>
> diff --git a/Makefile b/Makefile
> index cf16bd6..c6d903e 100644
> --- a/Makefile
> +++ b/Makefile
> @@ -2311,6 +2311,9 @@ at91rm9200dk_config : unconfig
> at91sam9260ek_config : unconfig
> @$(MKCONFIG) $(@:_config=) arm arm926ejs at91sam9260ek atmel at91sam9
> +at91sam9263ek_config : unconfig
> + @$(MKCONFIG) $(@:_config=) arm arm926ejs at91sam9263ek atmel at91sam9
> +
> cmc_pu2_config : unconfig
> @$(MKCONFIG) $(@:_config=) arm arm920t cmc_pu2 NULL at91rm9200
> diff --git a/drivers/net/macb.c b/drivers/net/macb.c
> index 703784e..499c7da 100644
> --- a/drivers/net/macb.c
> +++ b/drivers/net/macb.c
> @@ -417,13 +417,13 @@ static int macb_init(struct eth_device *netdev, bd_t
> *bd)
> /* choose RMII or MII mode. This depends on the board */
> #ifdef CONFIG_RMII
> -#if defined(CONFIG_AT91CAP9) || defined(CONFIG_AT91SAM9260)
> +#if defined(CONFIG_AT91CAP9) || defined(CONFIG_AT91SAM9260) || defined
> (CONFIG_AT91SAM9263)
We may create an other CONFIG_ for this
> macb_writel(macb, USRIO, MACB_BIT(RMII) | MACB_BIT(CLKEN));
> #else
> macb_writel(macb, USRIO, 0);
> #endif
> #else
> -#if defined(CONFIG_AT91CAP9) || defined(CONFIG_AT91SAM9260)
> +#if defined(CONFIG_AT91CAP9) || defined(CONFIG_AT91SAM9260) || defined
> (CONFIG_AT91SAM9263)
> macb_writel(macb, USRIO, MACB_BIT(CLKEN));
> #else
> macb_writel(macb, USRIO, MACB_BIT(MII));
> diff --git a/include/asm-arm/arch-at91sam9/hardware.h
> b/include/asm-arm/arch-at91sam9/hardware.h
> index 80b334f..4f9f2a8 100644
> --- a/include/asm-arm/arch-at91sam9/hardware.h
Best Regards,
J.
prev parent reply other threads:[~2008-04-22 6:32 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-04-22 4:23 [U-Boot-Users] [PATCH u-boot-at91] Add support for AT91SAM9263EK Jared Holzman
2008-04-22 6:32 ` Jean-Christophe PLAGNIOL-VILLARD [this message]
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=20080422063229.GC22850@game.jcrosoft.org \
--to=plagnioj@jcrosoft.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox