OpenBIC
OpenSource Bridge-IC
|
#include <stdio.h>
#include <string.h>
#include "libutil.h"
#include <logging/log.h>
#include "plat_hook.h"
#include "pmbus.h"
#include "plat_gpio.h"
#include "plat_pldm_sensor.h"
#include "plat_cpld.h"
#include "plat_i2c.h"
#include "plat_fru.h"
#include "plat_user_setting.h"
Macros | |
#define | EEPROM_MAX_WRITE_TIME 5 |
Functions | |
LOG_MODULE_REGISTER (plat_user_setting) | |
bool | set_user_settings_thermaltrip_to_eeprom (void *thermaltrip_user_settings, uint8_t data_length) |
bool | set_thermaltrip_user_settings (bool thermaltrip_enable, bool is_perm) |
Variables | |
thermaltrip_user_settings_struct | thermaltrip_user_settings = { 0xFF } |
#define EEPROM_MAX_WRITE_TIME 5 |
LOG_MODULE_REGISTER | ( | plat_user_setting | ) |
bool set_thermaltrip_user_settings | ( | bool | thermaltrip_enable, |
bool | is_perm | ||
) |
bool set_user_settings_thermaltrip_to_eeprom | ( | void * | thermaltrip_user_settings, |
uint8_t | data_length | ||
) |
thermaltrip_user_settings_struct thermaltrip_user_settings = { 0xFF } |