From: Albert ARIBAUD <albert.u.boot@aribaud.net>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 2/3] board/snowball: Add support for network boot
Date: Thu, 13 Feb 2014 10:29:15 +0100 [thread overview]
Message-ID: <20140213102915.12563cd4@lilith> (raw)
In-Reply-To: <1387542756-2857-3-git-send-email-rspliet@eclipso.eu>
Hi Roy,
On Fri, 20 Dec 2013 13:32:35 +0100, Roy Spliet <rspliet@eclipso.eu>
wrote:
> Signed-off-by: Roy Spliet <rspliet@eclipso.eu>
> ---
> board/st-ericsson/snowball/snowball.c | 11 +++++++++++
> include/configs/snowball.h | 14 ++++++++++++++
> 2 files changed, 25 insertions(+)
>
> diff --git a/board/st-ericsson/snowball/snowball.c b/board/st-ericsson/snowball/snowball.c
> index c3061e2..c9ab71f 100644
> --- a/board/st-ericsson/snowball/snowball.c
> +++ b/board/st-ericsson/snowball/snowball.c
> @@ -245,6 +245,8 @@ int board_late_init(void)
> while (tstc())
> (void) getc();
>
> + mdelay(25);
Please explain (here at least, possible also in commit depending on the
reason) why a 25 ms delay is needed -- and why it was not needed before.
> +
> return 0;
> }
>
> @@ -338,3 +340,12 @@ int board_mmc_init(bd_t *bis)
> return 0;
> }
> #endif /* CONFIG_MMC */
> +
> +int board_eth_init(bd_t *bis)
> +{
> + int error = smc911x_initialize(0, CONFIG_SMC911X_BASE);
> + if (error)
> + return error;
> +
> + return cpu_eth_init(bis);
> +}
> diff --git a/include/configs/snowball.h b/include/configs/snowball.h
> index 9a069f3..6201b3f 100644
> --- a/include/configs/snowball.h
> +++ b/include/configs/snowball.h
> @@ -95,6 +95,10 @@
> #define CONFIG_CMD_FAT
> #define CONFIG_CMD_EXT2
> #define CONFIG_CMD_SOURCE
> +#define CONFIG_CMD_DHCP
> +#define CONFIG_CMD_NET
> +#define CONFIG_CMD_NFS
> +#define CONFIG_CMD_PING
>
> #ifndef CONFIG_BOOTDELAY
> #define CONFIG_BOOTDELAY 1
> @@ -245,4 +249,14 @@
>
> #define CFG_FSMC_BASE 0x80000000 /* FSMC Controller */
>
> +/*
> + * Networking
> + */
> +#define CONFIG_NET
> +#define CONFIG_NET_MULTI
> +#define CONFIG_SMC911X
> +#define CONFIG_SMC911X_16_BIT
> +#define CONFIG_SMC911X_SHIFT 1
> +#define CONFIG_SMC911X_BASE 0x50000000
> +
> #endif /* __CONFIG_H */
Amicalement,
--
Albert.
next prev parent reply other threads:[~2014-02-13 9:29 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-12-20 12:32 [U-Boot] Improve upstream support for Snowball board (v2) Roy Spliet
2013-12-20 12:32 ` [U-Boot] [PATCH 1/3] drivers/smc911x: Add support for shifted register read/write Roy Spliet
2014-02-13 9:27 ` Albert ARIBAUD
2013-12-20 12:32 ` [U-Boot] [PATCH 2/3] board/snowball: Add support for network boot Roy Spliet
2014-02-13 9:29 ` Albert ARIBAUD [this message]
2013-12-20 12:32 ` [U-Boot] [PATCH 3/3] board/snowball: Enable FDT Roy Spliet
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=20140213102915.12563cd4@lilith \
--to=albert.u.boot@aribaud.net \
--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