40 #ifndef ETHFW_BOARD_UTILS_H_ 41 #define ETHFW_BOARD_UTILS_H_ 48 #include <ti/drv/enet/enet.h> 90 #define ETHFW_BOARD_GESI_ENABLE (ENET_BIT(0)) 93 #define ETHFW_BOARD_QENET_ENABLE (ENET_BIT(1)) 96 #define ETHFW_BOARD_SERDES_CONFIG (ENET_BIT(2)) 99 #define ETHFW_BOARD_UART_ALLOWED (ENET_BIT(3)) 102 #define ETHFW_BOARD_I2C_ALLOWED (ENET_BIT(4)) 105 #define ETHFW_BOARD_GPIO_ALLOWED (ENET_BIT(5)) 110 #define ETHFW_BOARD_ENET_BRIDGE_ENABLE (ENET_BIT(6)) 169 CpswMacPort_Cfg *macCfg,
170 EnetMacPort_Interface *mii,
172 EnetMacPort_LinkCfg *linkCfg);
int32_t EthFwBoard_init(uint32_t flags)
Initialize board-related functionality needed by Ethernet Firmware.
uint32_t EthFwBoard_getMacPorts(Enet_MacPort macPorts[ENET_MAC_PORT_NUM])
Get the list of enabled MAC ports.
uint32_t EthFwBoard_getMacAddrPool(uint8_t macAddr[][ENET_MAC_ADDR_LEN], uint32_t poolSize)
Get the MAC address pool of this board.
int32_t EthFwBoard_setPortCfg(Enet_MacPort macPort, CpswMacPort_Cfg *macCfg, EnetMacPort_Interface *mii, EnetPhy_Cfg *phyCfg, EnetMacPort_LinkCfg *linkCfg)
Set the port configuration parameters for the specified MAC port.