[qemu 2/3] hw/misc/aspeed_scu: Add number of regs define

Joel Stanley joel at jms.id.au
Fri Apr 29 10:42:51 AEST 2016


Signed-off-by: Joel Stanley <joel at jms.id.au>
---
 include/hw/misc/aspeed_scu.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/include/hw/misc/aspeed_scu.h b/include/hw/misc/aspeed_scu.h
index 276a464f9adf..66cdb60aae8f 100644
--- a/include/hw/misc/aspeed_scu.h
+++ b/include/hw/misc/aspeed_scu.h
@@ -16,6 +16,8 @@
 #define TYPE_ASPEED_SCU "aspeed.scu"
 #define ASPEED_SCU(obj) OBJECT_CHECK(AspeedSCUState, (obj), TYPE_ASPEED_SCU)
 
+#define ASPEED_SCU_NR_REGS	0x200
+
 typedef struct AspeedSCUState {
     /*< private >*/
     SysBusDevice parent_obj;
-- 
2.7.4



More information about the openbmc mailing list