OpenBIC
OpenSource Bridge-IC
plat_ipmi.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_IPMI_H
18#define PLAT_IPMI_H
19
20#include <stdbool.h>
21#include <stdint.h>
22
26};
27
33 DL_COMPNT_BOOTLOADER, // Align to Yv3 TI BIC
40};
41
43 GPIO_CONF_SET_DIR = 0, // 0: input, 1: output
44 GPIO_CONF_SET_INT, // 0: disable, 1 : enable
45 GPIO_CONF_SET_TRG_TYPE, // 0: edge, 1: level
46 GPIO_CONF_SET_TRG_EDGE, // 0: fall, 1: rise
47 GPIO_CONF_SET_TRG_BOTH // 1: both edge
48};
49
50#endif
GPIO_CONFIG_SETTING_BIT
Definition: plat_ipmi.h:42
@ GPIO_CONF_SET_TRG_BOTH
Definition: plat_ipmi.h:47
@ GPIO_CONF_SET_TRG_EDGE
Definition: plat_ipmi.h:46
@ GPIO_CONF_SET_INT
Definition: plat_ipmi.h:44
@ GPIO_CONF_SET_DIR
Definition: plat_ipmi.h:43
@ GPIO_CONF_SET_TRG_TYPE
Definition: plat_ipmi.h:45
DL_FIRMWARE_COMPONENT
Definition: plat_ipmi.h:28
@ DL_COMPNT_PVCCIO
Definition: plat_ipmi.h:36
@ DL_COMPNT_CPLD
Definition: plat_ipmi.h:30
@ DL_COMPNT_P3V3_STBY
Definition: plat_ipmi.h:37
@ DL_COMPNT_PVDDR_DEF
Definition: plat_ipmi.h:39
@ DL_COMPNT_BIOS
Definition: plat_ipmi.h:29
@ DL_COMPNT_PVDDR_ABC
Definition: plat_ipmi.h:38
@ DL_COMPNT_BOOTLOADER
Definition: plat_ipmi.h:33
@ DL_COMPNT_ME
Definition: plat_ipmi.h:32
@ DL_COMPNT_PVCCSA
Definition: plat_ipmi.h:35
@ DL_COMPNT_BIC
Definition: plat_ipmi.h:31
@ DL_COMPNT_PVCCIN
Definition: plat_ipmi.h:34
REQ_GET_CARD_TYPE
Definition: plat_ipmi.h:23
@ GET_1OU_CARD_TYPE
Definition: plat_ipmi.h:24
@ GET_2OU_CARD_TYPE
Definition: plat_ipmi.h:25