soc: microchip_mec: Add header for extracting eSPI data
This header contains encoding offsets for all the eSPI channels which communicate data from/to the host. Signed-off-by: Francisco Munoz <francisco.munoz.ruiz@intel.com>
This commit is contained in:
parent
66baf7f38d
commit
11c7e5a157
2 changed files with 24 additions and 0 deletions
23
soc/arm/microchip_mec/common/soc_espi_channels.h
Normal file
23
soc/arm/microchip_mec/common/soc_espi_channels.h
Normal file
|
@ -0,0 +1,23 @@
|
|||
/*
|
||||
* Copyright (c) 2019 Intel Corporation.
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
#ifndef _SOC_ESPI_CHANNELS_H_
|
||||
#define _SOC_ESPI_CHANNELS_H_
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
/* Channel 0 - Peripheral Channel */
|
||||
|
||||
/* 8042 event data */
|
||||
#define E8042_ISR_DATA_POS 8U
|
||||
#define E8042_ISR_CMD_DATA_POS 0U
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* _SOC_ESPI_CHANNELS_H_ */
|
|
@ -16,6 +16,7 @@
|
|||
|
||||
#include "../common/soc_gpio.h"
|
||||
#include "../common/soc_pins.h"
|
||||
#include "../common/soc_espi_channels.h"
|
||||
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue