2 * SPDX-License-Identifier: GPL-2.0-or-later
3 * Copyright (C) 2024 IBM Corp.
5 * IBM Common FRU Access Macro
10 #include "exec/memory.h"
12 #include "hw/fsi/fsi.h"
13 #include "hw/fsi/lbus.h"
15 #define TYPE_FSI_CFAM "cfam"
16 #define FSI_CFAM(obj) OBJECT_CHECK(FSICFAMState, (obj), TYPE_FSI_CFAM)
19 #define CFAM_CONFIG_NR_REGS 0x28
21 typedef struct FSICFAMState
{
25 /* CFAM config address space */
26 MemoryRegion config_iomem
;
31 FSIScratchPad scratchpad
;
34 #endif /* FSI_CFAM_H */