mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-24 21:54:01 +00:00
arm: kirkwood: fix Synology board tag
Signed-off-by: Walter Schweizer <swwa@users.sourceforge.net> Signed-off-by: Stefan Roese <sr@denx.de>
This commit is contained in:
parent
ed3adde083
commit
1c653201d7
1 changed files with 7 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue