2 * Copyright (C) 2013-2014 Synopsys, Inc. All rights reserved.
4 * SPDX-License-Identifier: GPL-2.0+
13 DECLARE_GLOBAL_DATA_PTR;
15 int board_mmc_init(bd_t *bis)
17 struct dwmci_host *host = NULL;
19 host = malloc(sizeof(struct dwmci_host));
21 printf("dwmci_host malloc fail!\n");
25 memset(host, 0, sizeof(struct dwmci_host));
26 host->name = "Synopsys Mobile storage";
27 host->ioaddr = (void *)ARC_DWMMC_BASE;
30 host->bus_hz = 25000000;
32 add_dwmci(host, 52000000, 400000);
37 int board_eth_init(bd_t *bis)
39 if (designware_initialize(ARC_DWGMAC_BASE,
40 PHY_INTERFACE_MODE_RGMII) >= 0)