From: Walter Schweizer <swwa@users.sourceforge.net>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 5/5] arm: mvebu: fix Synology board tag
Date: Tue, 6 Sep 2016 23:34:31 +0200 [thread overview]
Message-ID: <1473197671-4059-5-git-send-email-swwa@users.sourceforge.net> (raw)
In-Reply-To: <1473197671-4059-1-git-send-email-swwa@users.sourceforge.net>
Signed-off-by: Walter Schweizer <swwa@users.sourceforge.net>
---
board/Synology/ds109/ds109.c | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/board/Synology/ds109/ds109.c b/board/Synology/ds109/ds109.c
index 8ab1387..b46c09d 100644
--- a/board/Synology/ds109/ds109.c
+++ b/board/Synology/ds109/ds109.c
@@ -115,6 +115,7 @@ void setup_board_tags(struct tag **in_params)
unsigned int boardId;
struct tag *params;
struct tag_mv_uboot *t;
+ int i;
printf("Synology board tags...");
params = *in_params;
@@ -128,6 +129,12 @@ void setup_board_tags(struct tag **in_params)
t->tclk = CONFIG_SYS_TCLK;
t->sysclk = CONFIG_SYS_TCLK*2;
+ t->isusbhost = 1;
+ for (i = 0; i < 4; i++) {
+ memset(t->macaddr[i], 0, sizeof(t->macaddr[i]));
+ t->mtu[i] = 0;
+ }
+
params->hdr.tag = ATAG_MV_UBOOT;
params->hdr.size = tag_size(tag_mv_uboot);
params = tag_next(params);
--
2.1.4
next prev parent reply other threads:[~2016-09-06 21:34 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-09-06 21:34 [U-Boot] [PATCH 1/5] arm: mvebu: add support for Synology DS109 board Walter Schweizer
2016-09-06 21:34 ` [U-Boot] [PATCH 2/5] arm: mvebu: ds109 board is maintained Walter Schweizer
2016-09-06 21:34 ` [U-Boot] [PATCH 3/5] arm: mvebu: fix kirkwood initial setup Walter Schweizer
2016-09-06 21:34 ` [U-Boot] [PATCH 4/5] arm: mvebu: fix output enable settings Walter Schweizer
2016-09-06 21:34 ` Walter Schweizer [this message]
2016-09-20 15:34 ` [U-Boot] [PATCH 1/5] arm: mvebu: add support for Synology DS109 board Stefan Roese
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=1473197671-4059-5-git-send-email-swwa@users.sourceforge.net \
--to=swwa@users.sourceforge.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