OpenBIC
OpenSource Bridge-IC
plat_pldm_monitor.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_PLDM_MONITOR_H
18#define PLAT_PLDM_MONITOR_H
19
20#define PLAT_PLDM_MAX_STATE_EFFECTER_IDX 170
21
22#define LPC_BASE_ADDR 0x7E789000 // Refer to Chapter32: LPC Controller in AST1030 datasheet v1.0
23#define LPC_HICR9_REG (LPC_BASE_ADDR + 0x98)
24#define LPC_HICRA_REG (LPC_BASE_ADDR + 0x9C)
25
28};
29
33};
34
36 UART_BIC = 0, // Uart5
40};
41
43
44#endif
struct pldm_state_effecter_info plat_state_effecter_table[]
Definition: plat_pldm_monitor.c:35
pldm_plat_effecter_id_high_byte
Definition: plat_pldm_monitor.h:24
@ PLAT_EFFECTER_ID_GPIO_HIGH_BYTE
Definition: plat_pldm_monitor.h:25
plat_pldm_effecter_id
Definition: plat_pldm_monitor.h:110
Definition: pldm_monitor.h:425
@ PLAT_PLDM_EFFECTER_ID_UART_SWITCH
Definition: plat_pldm_monitor.h:31
@ PLAT_PLDM_EFFECTER_ID_SPI_REINIT
Definition: plat_pldm_monitor.h:32
plat_pldm_uart_number
Definition: plat_pldm_monitor.h:35
@ UART2
Definition: plat_pldm_monitor.h:38
@ UART_BIC
Definition: plat_pldm_monitor.h:36
@ UART_MAX
Definition: plat_pldm_monitor.h:39
@ UART1
Definition: plat_pldm_monitor.h:37