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 "Grand Teton"
23
#define PROJECT_NAME "Cascade Creek (SWB)"
24
#define PROJECT_STAGE MP
25
26
/*
27
* 0x01 cascade-creek
28
*/
29
#define BOARD_ID 0x01
30
#define DEVICE_ID 0x00
31
#define DEVICE_REVISION 0x80
32
33
#define FIRMWARE_REVISION_1 GET_FW_VERSION1(BOARD_ID, PROJECT_STAGE)
34
#define FIRMWARE_REVISION_2 0x04
35
36
#define IPMI_VERSION 0x02
37
#define ADDITIONAL_DEVICE_SUPPORT 0xBF
38
#define PRODUCT_ID 0x0000
39
#define AUXILIARY_FW_REVISION 0x00000000
40
41
#define BIC_FW_YEAR_MSB 0x20
42
#define BIC_FW_YEAR_LSB 0x24
43
#define BIC_FW_WEEK 0x36
44
#define BIC_FW_VER 0x02
45
#define BIC_FW_platform_0 0x47
// char: G
46
#define BIC_FW_platform_1 0x54
// char: T
47
#define BIC_FW_platform_2 0x00
// char: '\0'
48
49
#endif
version.h
meta-facebook
gt-cc
src
platform
plat_version.h
Generated by
1.9.2