summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWalter Schweizer <swwa@users.sourceforge.net>2016-10-06 23:30:00 +0200
committerStefan Roese <sr@denx.de>2016-10-09 10:55:32 +0200
commit1c653201d7de10b486266317200bfaa8bdb57700 (patch)
treebf543348cba9a28eb59483ac3c2e251ed1876ef0
parented3adde0839f0bc44b47a92288a696d821878a08 (diff)
arm: kirkwood: fix Synology board tag
Signed-off-by: Walter Schweizer <swwa@users.sourceforge.net> Signed-off-by: Stefan Roese <sr@denx.de>
-rw-r--r--board/Synology/ds109/ds109.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/board/Synology/ds109/ds109.c b/board/Synology/ds109/ds109.c
index 8ab1387d1d..b46c09d648 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);