]> git.proxmox.com Git - mirror_qemu.git/commit
sifive_u: Rename memmap enum constants
authorEduardo Habkost <ehabkost@redhat.com>
Fri, 11 Sep 2020 17:34:47 +0000 (13:34 -0400)
committerEduardo Habkost <ehabkost@redhat.com>
Fri, 18 Sep 2020 17:49:48 +0000 (13:49 -0400)
commit13b8c354188359e2c0bef909d82ad2c0dcae693a
treed6f597394205af364b6dcb892997e67c54ea61bc
parent5488f2760ad4a4549da82d179ff44e476d902112
sifive_u: Rename memmap enum constants

Some of the enum constant names conflict with the QOM type check
macros (SIFIVE_U_OTP, SIFIVE_U_PRCI).  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 SIFIVE_U_DEV_*, to avoid conflicts.

Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Message-Id: <20200911173447.165713-3-ehabkost@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
hw/riscv/sifive_u.c
include/hw/riscv/sifive_u.h