• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 
3 #ifndef SOC_INTEL_COMMON_BLOCK_GPMR_H
4 #define SOC_INTEL_COMMON_BLOCK_GPMR_H
5 
6 #include <types.h>
7 #if CONFIG(SOC_INTEL_COMMON_BLOCK_IOC)
8 #include <intelblocks/ioc_gpmr.h>
9 #else
10 #include <intelblocks/pcr_gpmr.h>
11 #endif
12 
13 uint32_t gpmr_read32(uint16_t offset);
14 void gpmr_write32(uint16_t offset, uint32_t val);
15 void gpmr_or32(uint16_t offset, uint32_t ordata);
16 enum cb_err enable_gpmr(uint32_t base, uint32_t size, uint32_t dest_id);
17 
18 #endif /* SOC_INTEL_COMMON_BLOCK_GPMR_H */
19