TT Zephyr Platforms 18.11.99
Tenstorrent Firmware
Loading...
Searching...
No Matches
jtag_bootrom.h File Reference
#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_tget_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)

Function Documentation

◆ get_arc_start_time()

uint32_t get_arc_start_time ( void )

◆ get_bootcode()

const uint8_t * get_bootcode ( void )

◆ get_bootcode_len()

const size_t get_bootcode_len ( void )

◆ get_dm_init_duration()

uint32_t get_dm_init_duration ( void )

◆ jtag_bootrom_emul_axiread()

int jtag_bootrom_emul_axiread ( uint32_t addr,
uint32_t * value )

◆ jtag_bootrom_emul_setup()

void jtag_bootrom_emul_setup ( const uint32_t * buf,
size_t buf_len )

◆ jtag_bootrom_init()

int jtag_bootrom_init ( struct bh_chip * chip)

◆ jtag_bootrom_patch()

ALWAYS_INLINE int jtag_bootrom_patch ( struct bh_chip * chip,
const uint32_t * patch,
size_t patch_len )

◆ jtag_bootrom_patch_offset()

int jtag_bootrom_patch_offset ( struct bh_chip * chip,
const uint32_t * patch,
size_t patch_len,
const uint32_t start_addr )

◆ jtag_bootrom_reset_asic()

int jtag_bootrom_reset_asic ( struct bh_chip * chip)

◆ jtag_bootrom_soft_reset_arc()

void jtag_bootrom_soft_reset_arc ( struct bh_chip * chip)

◆ jtag_bootrom_teardown()

void jtag_bootrom_teardown ( const struct bh_chip * chip)

◆ jtag_bootrom_verify()

int jtag_bootrom_verify ( const struct device * dev,
const uint32_t * patch,
size_t patch_len )