OpenBIC
OpenSource Bridge-IC
plat_version.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) Meta Platforms, Inc. and affiliates.
3
*
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
* you may not use this file except in compliance with the License.
6
* You may obtain a copy of the License at
7
*
8
* http://www.apache.org/licenses/LICENSE-2.0
9
*
10
* Unless required by applicable law or agreed to in writing, software
11
* distributed under the License is distributed on an "AS IS" BASIS,
12
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
* See the License for the specific language governing permissions and
14
* limitations under the License.
15
*/
16
17
#ifndef PLAT_VERSION_H
18
#define PLAT_VERSION_H
19
20
#include "
version.h
"
21
22
#define PLATFORM_NAME "Yosemite V3.5"
23
#define PROJECT_NAME "Great Lakes"
24
#define PROJECT_STAGE MP
25
26
/*
27
* 0x01 motherboard
28
* 0x02 baseboard
29
*/
30
#define BOARD_ID 0x01
31
#define DEVICE_ID 0x00
32
#define DEVICE_REVISION 0x80
33
34
#define FIRMWARE_REVISION_1 GET_FW_VERSION1(BOARD_ID, PROJECT_STAGE)
35
#define FIRMWARE_REVISION_2 0x05
36
37
#define IPMI_VERSION 0x02
38
#define ADDITIONAL_DEVICE_SUPPORT 0xBF
39
#define PRODUCT_ID 0x0000
40
#define AUXILIARY_FW_REVISION 0x00000000
41
42
#define BIC_FW_YEAR_MSB 0x20
43
#define BIC_FW_YEAR_LSB 0x24
44
#define BIC_FW_WEEK 0x50
45
#define BIC_FW_VER 0x01
46
#define BIC_FW_platform_0 0x67
// char: g
47
#define BIC_FW_platform_1 0x6c
// char: l
48
#define BIC_FW_platform_2 0x00
// char: '\0'
49
50
#endif
version.h
meta-facebook
yv35-gl
src
platform
plat_version.h
Generated by
1.9.2