allwinner-h3: Rename memmap enum constants
authorEduardo Habkost <ehabkost@redhat.com>
Tue, 25 Aug 2020 19:20:01 +0000 (15:20 -0400)
committerEduardo Habkost <ehabkost@redhat.com>
Thu, 27 Aug 2020 18:04:54 +0000 (14:04 -0400)
commit4af44e1eca3a36cd7a1c68d73692bdd76fb8f7e4
tree22ccb7b38334ca5529669f66fb6664fe7497f2fd
parentc7bf34922d664fed6534492724160de71977f908
allwinner-h3: Rename memmap enum constants

Some of the enum constant names conflict with the QOM type check
macros (AW_H3_CCU, AW_H3_SYSCTRL).  This needs to be addressed to
allow us to transform the QOM type check macros into functions
generated by OBJECT_DECLARE_TYPE().

Rename all the constants to AW_H3_DEV_*, to avoid conflicts.

Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Reviewed-by: Niek Linnenbank <nieklinnenbank@gmail.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Tested-By: Roman Bolshakov <r.bolshakov@yadro.com>
Message-Id: <20200825192110.3528606-6-ehabkost@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
hw/arm/allwinner-h3.c
hw/arm/orangepi.c
include/hw/arm/allwinner-h3.h