|
OpenBIC
OpenSource Bridge-IC
|
#include <stdio.h>#include <stdlib.h>#include <string.h>#include <logging/log.h>#include "libutil.h"#include "plat_i2c.h"#include "plat_class.h"#include "plat_pldm_sensor.h"
Macros | |
| #define | AEGIS_CPLD_ADDR (0x4C >> 1) |
| #define | I2C_BUS_CPLD I2C_BUS5 |
| #define | I2C_BUS_TMP I2C_BUS1 |
| #define | AEGIS_CPLD_VR_VENDOR_TYPE_REG 0x1C |
| #define | AEGIS_CPLD_BOARD_REV_ID_REG 0x1B |
| #define | AEGIS_CPLD_BOARD_TYPE_REG 0x1A |
| #define | TMP_EMC1413_SMSC_ID_DEFAULT 0x5D |
| #define | AEGIS_CPLD_CMM_STATUS_REG 0x31 |
Functions | |
| LOG_MODULE_REGISTER (plat_class) | |
| bool | plat_read_cpld (uint8_t offset, uint8_t *data) |
| void | init_board_type (void) |
| void | init_board_stage (void) |
| void | init_vr_vendor_type (void) |
| void | init_tmp_type () |
| void | init_mb_type (void) |
| uint8_t | get_vr_type () |
| uint8_t | get_ubc_type () |
| uint8_t | get_board_stage () |
| uint8_t | get_board_type () |
| uint8_t | get_tmp_type () |
| uint8_t | get_mb_type () |
| void | init_platform_config () |
| void | pal_show_board_types (const struct shell *shell) |
| void | pal_show_extra_info (const struct shell *shell) |
| #define AEGIS_CPLD_ADDR (0x4C >> 1) |
| #define AEGIS_CPLD_BOARD_REV_ID_REG 0x1B |
| #define AEGIS_CPLD_BOARD_TYPE_REG 0x1A |
| #define AEGIS_CPLD_CMM_STATUS_REG 0x31 |
| #define AEGIS_CPLD_VR_VENDOR_TYPE_REG 0x1C |
| #define I2C_BUS_CPLD I2C_BUS5 |
| #define I2C_BUS_TMP I2C_BUS1 |
| #define TMP_EMC1413_SMSC_ID_DEFAULT 0x5D |
| uint8_t get_board_stage | ( | ) |
| uint8_t get_board_type | ( | ) |
| uint8_t get_mb_type | ( | ) |
| uint8_t get_tmp_type | ( | ) |
| uint8_t get_ubc_type | ( | ) |
| uint8_t get_vr_type | ( | ) |
| void init_board_stage | ( | void | ) |

| void init_board_type | ( | void | ) |

| void init_mb_type | ( | void | ) |

| void init_platform_config | ( | ) |

| void init_tmp_type | ( | ) |

| void init_vr_vendor_type | ( | void | ) |

| LOG_MODULE_REGISTER | ( | plat_class | ) |
| void pal_show_board_types | ( | const struct shell * | shell | ) |
| void pal_show_extra_info | ( | const struct shell * | shell | ) |

| bool plat_read_cpld | ( | uint8_t | offset, |
| uint8_t * | data | ||
| ) |
