2 * QEMU PowerNV PNOR simple model
4 * Copyright (c) 2019, IBM Corporation.
6 * This code is licensed under the GPL version 2 or later. See the
7 * COPYING file in the top-level directory.
9 #ifndef _PPC_PNV_PNOR_H
10 #define _PPC_PNV_PNOR_H
13 * PNOR offset on the LPC FW address space
15 #define PNOR_SPI_OFFSET 0x0c000000UL
17 #define TYPE_PNV_PNOR "pnv-pnor"
18 #define PNV_PNOR(obj) OBJECT_CHECK(PnvPnor, (obj), TYPE_PNV_PNOR)
20 typedef struct PnvPnor
{
21 SysBusDevice parent_obj
;
30 #endif /* _PPC_PNV_PNOR_H */