diff options
Diffstat (limited to 'src/soc/intel/xeon_sp/cpx/include')
-rw-r--r-- | src/soc/intel/xeon_sp/cpx/include/soc/irq.h | 8 | ||||
-rw-r--r-- | src/soc/intel/xeon_sp/cpx/include/soc/soc_util.h | 25 |
2 files changed, 32 insertions, 1 deletions
diff --git a/src/soc/intel/xeon_sp/cpx/include/soc/irq.h b/src/soc/intel/xeon_sp/cpx/include/soc/irq.h index 71e058417e..efd50577b6 100644 --- a/src/soc/intel/xeon_sp/cpx/include/soc/irq.h +++ b/src/soc/intel/xeon_sp/cpx/include/soc/irq.h @@ -1,3 +1,9 @@ /* SPDX-License-Identifier: GPL-2.0-only */ -/* nothing here, please come back later */ +#ifndef _SOC_IRQ_H_ +#define _SOC_IRQ_H_ + +#define PCH_IRQ10 10 +#define PCH_IRQ11 11 + +#endif /* _SOC_IRQ_H_ */ diff --git a/src/soc/intel/xeon_sp/cpx/include/soc/soc_util.h b/src/soc/intel/xeon_sp/cpx/include/soc/soc_util.h new file mode 100644 index 0000000000..d8b038c4d5 --- /dev/null +++ b/src/soc/intel/xeon_sp/cpx/include/soc/soc_util.h @@ -0,0 +1,25 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ + +#ifndef _SOC_UTIL_H_ +#define _SOC_UTIL_H_ + +#include <console/console.h> +#include <hob_iiouds.h> +#include <hob_memmap.h> +#include <stdint.h> + +#define DEV_FUNC_ENTER(dev) \ + printk(BIOS_SPEW, "%s:%s:%d: ENTER (dev: %s)\n", \ + __FILE__, __func__, __LINE__, dev_path(dev)) + +#define DEV_FUNC_EXIT(dev) \ + printk(BIOS_SPEW, "%s:%s:%d: EXIT (dev: %s)\n", __FILE__, \ + __func__, __LINE__, dev_path(dev)) + +struct iiostack_resource { + uint8_t no_of_stacks; + STACK_RES res[MAX_SOCKET * MAX_LOGIC_IIO_STACK]; +}; + +uint8_t get_iiostack_info(struct iiostack_resource *info); +#endif /* _SOC_UTIL_H_ */ |