blob: 6a705a510c7d8c4b4dc8bcbaff7ef12659926ac0 [file] [log] [blame]
Mohaimen Alsamarai35c1ac42021-04-20 13:16:42 -05001/********************************************************************************
2* HON HAI Precision IND.Co., LTD. *
3* Personal Computer & Enterprise Product Business Group *
4* Enterprise Product Business Group *
5* *
6* Copyright (c) 2010 by FOXCONN/CESBG/CABG/SRD. All rights reserved. *
7* All data and information contained in this document is confidential *
8* and proprietary information of FOXCONN/CESBG/CABG/SRD and all rights *
9* are reserved. By accepting this material the recipient agrees that *
10* the information contained therein is held in confidence and in trust *
11* and will not be used, copied, reproduced in whole or in part, nor its *
12* contents revealed in any manner to others without the express written *
13* permission of FOXCONN/CESBG/CABG/SRD. *
14* *
15********************************************************************************/
16
17#pragma once
Avenash Asai Thambida2cf0d2021-08-26 15:51:47 -050018#define BOOT_COUNT_READ 0x00
19#define BOOT_COUNT_INCREMENT 0x01
20#define BOOT_COUNT_CLEAR 0x02
21#define BOOT_COUNT_SET 0x03
22#define FII_CMD_BIOS_BOOT_COUNT 0x71
23#define OPERATION_BYTE_LENGTH 1
24#define SET_BYTE_LENGTH 5
25#define BOOT_COUNT_HEADER 0xDEADBEEF
26#define INITIAL_VALUE 0x00000000
27#define START_BOOT_COUNT_VALUE 0x00000001
Mohaimen Alsamarai35c1ac42021-04-20 13:16:42 -050028
Avenash Asai Thambida2cf0d2021-08-26 15:51:47 -050029size_t EEPROM_OFFSET = 4096;
30std::string EEPROM_PATH = "/sys/bus/i2c/devices/4-0050/eeprom";