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 "AALC"
23
#define PROJECT_NAME "AALC"
24
#define PROJECT_STAGE DVT
25
26
/*
27
* 0xFF AALC TBD
28
*/
29
#define BOARD_ID 0x00
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
#define IANA_ID 0x009C9C
// same as TI BIC
41
#define IANA_ID2 0x00A015
// for OEM 1S command supports YV3.5
42
43
#define BIC_FW_YEAR_MSB 0x20
44
#define BIC_FW_YEAR_LSB 0x24
45
#define BIC_FW_WEEK 0x51
46
#define BIC_FW_VER 0x01
47
#define BIC_FW_platform_0 0x61
// char: a
48
#define BIC_FW_platform_1 0x61
// char: a
49
#define BIC_FW_platform_2 0x00
// char: '\0'
50
51
#endif
version.h
meta-facebook
aalc-rpu
src
platform
plat_version.h
Generated by
1.9.2