On Wed, Aug 19, 2020 at 08:11:45PM -0400, Eduardo Habkost wrote: > Some of the enum constant names conflict with the QOM type check > macros (IBEX_PLIC, IBEX_UART). 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 IBEX_DEV_*, to avoid conflicts. > > Reviewed-by: Alistair Francis <[email protected]> > Signed-off-by: Eduardo Habkost <[email protected]> > --- > Changes v1 -> v2: > * Added more details to commit message > > --- > Cc: Alistair Francis <[email protected]> > Cc: Palmer Dabbelt <[email protected]> > Cc: Sagar Karandikar <[email protected]> > Cc: Bastian Koppelmann <[email protected]> > Cc: [email protected] > Cc: [email protected] > --- > include/hw/riscv/opentitan.h | 38 ++++++++-------- > hw/riscv/opentitan.c | 84 ++++++++++++++++++------------------ > 2 files changed, 61 insertions(+), 61 deletions(-)
Reviewed-by: Daniel P. Berrangé <[email protected]> Regards, Daniel -- |: https://berrange.com -o- https://www.flickr.com/photos/dberrange :| |: https://libvirt.org -o- https://fstop138.berrange.com :| |: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|
