TT Zephyr Platforms 18.11.99
Tenstorrent Firmware
|
#include <stddef.h>
#include <stdint.h>
#include <zephyr/sys/util.h>
#include <zephyr/spinlock.h>
#include <tenstorrent/bh_chip.h>
Go to the source code of this file.
Functions | |
const uint8_t * | get_bootcode (void) |
const size_t | get_bootcode_len (void) |
int | jtag_bootrom_init (struct bh_chip *chip) |
int | jtag_bootrom_reset_asic (struct bh_chip *chip) |
int | jtag_bootrom_patch_offset (struct bh_chip *chip, const uint32_t *patch, size_t patch_len, const uint32_t start_addr) |
int | jtag_bootrom_verify (const struct device *dev, const uint32_t *patch, size_t patch_len) |
void | jtag_bootrom_soft_reset_arc (struct bh_chip *chip) |
void | jtag_bootrom_teardown (const struct bh_chip *chip) |
ALWAYS_INLINE int | jtag_bootrom_patch (struct bh_chip *chip, const uint32_t *patch, size_t patch_len) |
void | jtag_bootrom_emul_setup (const uint32_t *buf, size_t buf_len) |
int | jtag_bootrom_emul_axiread (uint32_t addr, uint32_t *value) |
uint32_t | get_arc_start_time (void) |
uint32_t | get_dm_init_duration (void) |
uint32_t get_arc_start_time | ( | void | ) |
const uint8_t * get_bootcode | ( | void | ) |
const size_t get_bootcode_len | ( | void | ) |
uint32_t get_dm_init_duration | ( | void | ) |
int jtag_bootrom_init | ( | struct bh_chip * | chip | ) |
ALWAYS_INLINE int jtag_bootrom_patch | ( | struct bh_chip * | chip, |
const uint32_t * | patch, | ||
size_t | patch_len ) |
int jtag_bootrom_patch_offset | ( | struct bh_chip * | chip, |
const uint32_t * | patch, | ||
size_t | patch_len, | ||
const uint32_t | start_addr ) |
int jtag_bootrom_reset_asic | ( | struct bh_chip * | chip | ) |
void jtag_bootrom_soft_reset_arc | ( | struct bh_chip * | chip | ) |
void jtag_bootrom_teardown | ( | const struct bh_chip * | chip | ) |