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 V4"
23#define PROJECT_NAME "Wailua Falls"
24#define PROJECT_STAGE MP
25
26#define BOARD_ID 0x05
27#define DEVICE_ID 0x00
28#define DEVICE_REVISION 0x80
29
30#define FIRMWARE_REVISION_1 GET_FW_VERSION1(BOARD_ID, PROJECT_STAGE)
31#define FIRMWARE_REVISION_2 0x1
32
33#define IPMI_VERSION 0x02
34#define ADDITIONAL_DEVICE_SUPPORT 0xBF
35#define PRODUCT_ID 0x0000
36#define AUXILIARY_FW_REVISION 0x00000000
37
38#define BIC_FW_YEAR_MSB 0x20
39#define BIC_FW_YEAR_LSB 0x24
40#define BIC_FW_WEEK 0x52
41#define BIC_FW_VER 0x01
42#define BIC_FW_platform_0 0x77 // char: w
43#define BIC_FW_platform_1 0x66 // char: f
44#define BIC_FW_platform_2 0x00 // char: '\0'
45
46#endif