#include <stdint.h>
#include <stdbool.h>
#include <stdlib.h>
#include <arc_dma.h>
Go to the source code of this file.
|
void | SetupEthSerdesMux (uint32_t eth_enabled) |
int | LoadEthFw (uint32_t eth_inst, uint32_t ring, uint8_t *buf, size_t buf_size, size_t spi_address, size_t image_size) |
int | LoadEthFwCfg (uint32_t eth_inst, uint32_t ring, uint8_t *buf, uint32_t eth_enabled, size_t spi_address, size_t image_size) |
| Load the ETH FW configuration data into ETH L1 memory.
|
void | ReleaseEthReset (uint32_t eth_inst, uint32_t ring) |
◆ MAX_ETH_INSTANCES
#define MAX_ETH_INSTANCES 14 |
◆ LoadEthFw()
◆ LoadEthFwCfg()
Load the ETH FW configuration data into ETH L1 memory.
- Parameters
-
eth_inst | ETH instance to load the FW config for |
ring | Load over NOC 0 or NOC 1 |
eth_enabled | Bitmask of enabled ETH instances |
fw_cfg_image | Pointer to the FW config data |
fw_cfg_size | Size of the FW config data |
- Returns
- int 0 on success, -1 on failure
◆ ReleaseEthReset()
◆ SetupEthSerdesMux()
void SetupEthSerdesMux |
( |
uint32_t | eth_enabled | ) |
|