]>
git.ipfire.org Git - people/ms/u-boot.git/blob - board/synopsys/axs101/axs101.c
774204976e5de4e911e643e09ee664d49554bdbb
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
= 50000000;
32 add_dwmci(host
, host
->bus_hz
, 400000);
37 int board_eth_init(bd_t
*bis
)
39 if (designware_initialize(ARC_DWGMAC_BASE
,
40 PHY_INTERFACE_MODE_RGMII
) >= 0)