TT Zephyr Platforms 19.5.0-rc1
Tenstorrent Firmware
Loading...
Searching...
No Matches
bh_fwtable.h File Reference
#include <stdint.h>
#include <zephyr/device.h>
#include "fw_table.pb.h"
#include "flash_info.pb.h"
#include "read_only.pb.h"

Go to the source code of this file.

Macros

#define BOARDTYPE_ORION   0x37
#define BOARDTYPE_P100A   0x43
#define BOARDTYPE_P150A   0x40
#define BOARDTYPE_P150   0x41
#define BOARDTYPE_P150C   0x42
#define BOARDTYPE_P300   0x44
#define BOARDTYPE_P300A   0x45
#define BOARDTYPE_P300C   0x46
#define BOARDTYPE_UBB   0x47

Enumerations

enum  PcbType {
  PcbTypeOrion = 0 ,
  PcbTypeP100 = 1 ,
  PcbTypeP150 = 2 ,
  PcbTypeP300 = 3 ,
  PcbTypeUBB = 4 ,
  PcbTypeUnknown = 0xFF
}

Functions

const FwTable * tt_bh_fwtable_get_fw_table (const struct device *dev)
const FlashInfoTable * tt_bh_fwtable_get_flash_info_table (const struct device *dev)
const ReadOnly * tt_bh_fwtable_get_read_only_table (const struct device *dev)
PcbType tt_bh_fwtable_get_pcb_type (const struct device *dev)
uint8_t tt_bh_fwtable_get_board_type (const struct device *dev)
bool tt_bh_fwtable_is_p300_left_chip (void)
uint32_t tt_bh_fwtable_get_asic_location (const struct device *dev)

Macro Definition Documentation

◆ BOARDTYPE_ORION

#define BOARDTYPE_ORION   0x37

◆ BOARDTYPE_P100A

#define BOARDTYPE_P100A   0x43

◆ BOARDTYPE_P150

#define BOARDTYPE_P150   0x41

◆ BOARDTYPE_P150A

#define BOARDTYPE_P150A   0x40

◆ BOARDTYPE_P150C

#define BOARDTYPE_P150C   0x42

◆ BOARDTYPE_P300

#define BOARDTYPE_P300   0x44

◆ BOARDTYPE_P300A

#define BOARDTYPE_P300A   0x45

◆ BOARDTYPE_P300C

#define BOARDTYPE_P300C   0x46

◆ BOARDTYPE_UBB

#define BOARDTYPE_UBB   0x47

Enumeration Type Documentation

◆ PcbType

enum PcbType
Enumerator
PcbTypeOrion 
PcbTypeP100 
PcbTypeP150 
PcbTypeP300 
PcbTypeUBB 
PcbTypeUnknown 0xFF 

Function Documentation

◆ tt_bh_fwtable_get_asic_location()

uint32_t tt_bh_fwtable_get_asic_location ( const struct device * dev)

◆ tt_bh_fwtable_get_board_type()

uint8_t tt_bh_fwtable_get_board_type ( const struct device * dev)

◆ tt_bh_fwtable_get_flash_info_table()

const FlashInfoTable * tt_bh_fwtable_get_flash_info_table ( const struct device * dev)

◆ tt_bh_fwtable_get_fw_table()

const FwTable * tt_bh_fwtable_get_fw_table ( const struct device * dev)

◆ tt_bh_fwtable_get_pcb_type()

PcbType tt_bh_fwtable_get_pcb_type ( const struct device * dev)

◆ tt_bh_fwtable_get_read_only_table()

const ReadOnly * tt_bh_fwtable_get_read_only_table ( const struct device * dev)

◆ tt_bh_fwtable_is_p300_left_chip()

bool tt_bh_fwtable_is_p300_left_chip ( void )