TT Zephyr Platforms 18.11.99
Tenstorrent Firmware
|
#include "serdes_eth.h"
#include "noc2axi.h"
#include "noc.h"
#include <tenstorrent/spi_flash_buf.h>
#include <tenstorrent/tt_boot_fs.h>
#include <zephyr/kernel.h>
#include <zephyr/logging/log.h>
Macros | |
#define | SERDES_ETH_SETUP_TLB 0 |
Functions | |
LOG_MODULE_REGISTER (eth_serdes, CONFIG_TT_APP_LOG_LEVEL) | |
static void | SetupSerdesTlb (uint32_t serdes_inst, uint32_t ring, uint64_t addr) |
static int | NOC2AxiWrite32SerdesReg (uint8_t *src, uint8_t *dst, size_t len) |
void | LoadSerdesEthRegs (uint32_t serdes_inst, uint32_t ring, uint8_t *buf, size_t buf_size, size_t spi_address, size_t image_size) |
int | LoadSerdesEthFw (uint32_t serdes_inst, uint32_t ring, uint8_t *buf, size_t buf_size, size_t spi_address, size_t image_size) |
Variables | |
static const struct device * | flash = DEVICE_DT_GET_OR_NULL(DT_NODELABEL(spi_flash)) |
#define SERDES_ETH_SETUP_TLB 0 |
int LoadSerdesEthFw | ( | uint32_t | serdes_inst, |
uint32_t | ring, | ||
uint8_t * | buf, | ||
size_t | buf_size, | ||
size_t | spi_address, | ||
size_t | image_size ) |
void LoadSerdesEthRegs | ( | uint32_t | serdes_inst, |
uint32_t | ring, | ||
uint8_t * | buf, | ||
size_t | buf_size, | ||
size_t | spi_address, | ||
size_t | image_size ) |
LOG_MODULE_REGISTER | ( | eth_serdes | , |
CONFIG_TT_APP_LOG_LEVEL | ) |
|
static |