Merge branch 'master' of git://git.denx.de/u-boot-samsung
[platform/kernel/u-boot.git] / board / Synology / ds109 / ds109.c
index 8ab1387..0c2f525 100644 (file)
@@ -8,6 +8,7 @@
 
 #include <common.h>
 #include <miiphy.h>
+#include <asm/setup.h>
 #include <asm/arch/cpu.h>
 #include <asm/arch/soc.h>
 #include <asm/arch/mpp.h>
@@ -115,6 +116,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 +130,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);