Skip to content

Commit a1ec761

Browse files
scottwcpgfranciscomunoz
authored andcommitted
modules: Add eSPI SAF header and updates
Origin: MCHP https://github.com/MicrochipTech/hal_microchip Status: version 1.1.0 Add Microchip MEC15xx eSPI SAF header and SAF changes in other affected hardware headers: espi_io and qmspi. Signed-off-by: Scott Worley <[email protected]>
1 parent aad89bf commit a1ec761

File tree

5 files changed

+1032
-312
lines changed

5 files changed

+1032
-312
lines changed

README.txt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,10 @@ sed -i -e 's/[ \t\r]*$//g' MCHP_MEC1701_bit_fields.h, then file was renamed
77
to MCHP_MEC1701.h
88

99
Field EOF was renamed to PEOF as it was collapsing with EOF defined in stdio.h
10+
11+
Microchip HAL contianing the above MEC1701 single header and the
12+
MEC1501 component style is located at:
13+
14+
https://github.com/MicrochipTech/hal_microchip
15+
16+
Version: 1.1.0

mec/mec1501/MEC1501hsz.h

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -439,6 +439,7 @@ typedef enum IRQn {
439439
#include "component/emi.h"
440440
#include "component/espi_io.h"
441441
#include "component/espi_mem.h"
442+
#include "component/espi_saf.h"
442443
#include "component/espi_vw.h"
443444
#include "component/global_cfg.h"
444445
#include "component/hdmi_cec.h"
@@ -610,8 +611,10 @@ typedef enum IRQn {
610611
#define ESPI_MEM_EBAR_REGS ((ESPI_MEM_BAR_EC_Type *)(ESPI_MEM_EC_BAR_BASE))
611612
#define ESPI_MEM_HBAR_REGS ((ESPI_MEM_BAR_HOST_Type *)(ESPI_MEM_HOST_BAR_BASE))
612613

613-
#define ESPI_MEM_SRAM_EBAR_REGS ((ESPI_MEM_SRAM_BAR_EC_Type *)(ESPI_MEM_SRAM_EC_BAR_BASE))
614-
#define ESPI_MEM_SRAM_HBAR_REGS ((ESPI_MEM_SRAM_BAR_HOST_Type *)(ESPI_MEM_SRAM_HOST_BAR_BASE))
614+
#define ESPI_MEM_SRAM_EBAR_REGS \
615+
((ESPI_MEM_SRAM_BAR_EC_Type *)(ESPI_MEM_SRAM_EC_BAR_BASE))
616+
#define ESPI_MEM_SRAM_HBAR_REGS \
617+
((ESPI_MEM_SRAM_BAR_HOST_Type *)(ESPI_MEM_SRAM_HOST_BAR_BASE))
615618

616619
#define ESPI_MEM_BM_REGS ((ESPI_MEM_BM_Type *)(ESPI_MEM_BM_BASE))
617620

0 commit comments

Comments
 (0)