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 "Artemis"
23#define PROJECT_NAME "Colter Bay (ACB)"
24#define PROJECT_STAGE POC
25
31#define BOARD_ID 0x02
32#define DEVICE_ID 0x00
33#define DEVICE_REVISION 0x80
34
35#define FIRMWARE_REVISION_1 GET_FW_VERSION1(BOARD_ID, PROJECT_STAGE)
36#define FIRMWARE_REVISION_2 0x36
37
38#define IPMI_VERSION 0x02
39#define ADDITIONAL_DEVICE_SUPPORT 0xBF
40#define PRODUCT_ID 0x0000
41#define AUXILIARY_FW_REVISION 0x00000000
42
43#define BIC_FW_YEAR_MSB 0x20
44#define BIC_FW_YEAR_LSB 0x24
45#define BIC_FW_WEEK 0x34
46#define BIC_FW_VER 0x00
47#define BIC_FW_platform_0 0x63 // char: c
48#define BIC_FW_platform_1 0x62 // char: b
49#define BIC_FW_platform_2 0x00 // char: '\0'
50
51#endif